null output on jsp page with ${requestScope.useremail}
Hi huys,
I'm tyring to output the user's email in my jsp page. .
I'n my strtus LogingAction I'm doing this:
session.setAttribute("useremail",user.getEmail());
and in my JSP page:
<fmt:message key="loggedin.msg">
<fmt:param value='${requestScope.useremail}' />
</fmt:message>
the applicationResource.properties:
loggedin.msg=Welcome, {0}. You are now logged in.
For some reason the output on the jsp page comes as:
Welcome, null. You are now loggedin
can anyone tell why am I getting null? (the email exist I checked it)
thanks

