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

[718 byte] By [xianwinwina] at [2007-10-3 6:46:08]
# 1
What does user.getEmail() return?What do you get if you just print out ${requestScope.useremail} ?Where does the email get set into the user object?
evnafetsa at 2007-7-15 1:36:04 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
It should be :<fmt:param value='${sessionScope.useremail}' />afterwards<c:remove var ="useremail" scope ="session"/>Object stored in request scope will disapppear with the request http://ww.skillipedia.com
skillipediaa at 2007-7-15 1:36:04 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
yep...I got it.it was suppose to be: <fmt:param value='${user.email}' />thanks for the guidelines
xianwinwina at 2007-7-15 1:36:04 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...