Hi All ,Thanks for all your previous help . I have layout.jsp defines layout
of page . Here inside body tag I put user object into session. This layout.jsp
is used in index.jsp. I am unable to access this user object from session
in index.jsp on load . I need to refresh this page to make user object avilable
.<!-- layout.jsp --><stripes:layout-definition> <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html> <head> <stripes:layout-component name="htmlhead">
<jsp:include page="/util/htmlhead.jsp" />
</stripes:layout-component> </head> <body> <c:if
test="${not empty (actionBean)}" > <c:set var="action"
value="${actionBean.class.name}" /> <c:if test="${action ==
'com.anoigma.actionbean.LoginActionBean'}">
<c:set var="user" scope="session" value="${actionBean.user}" />
</c:if>
</c:if> </body></stripes:layout-definition>
<!-- index.jsp ---><stripes:layout-render name="/layout.jsp">
<stripes:layout-component name="main">
<c:out value="user is ${sessionScope.user}"/>
</stripes:layout-component>
</stripes:layout-render>
user object is empty when index.jsp is called . I need tp reload the page to
get the object from session.
Thanks Sneha
Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo!
Edition http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users