This content has been marked as final.
Show 2 replies
-
1. Re: Getting Object from session in JSTL
ssilvert Sep 16, 2012 3:36 PM (in response to yesitsgauravgoel)I think you'll have to do some debugging to find the answer, but browsing at your code I see one odd thing. You are setting the same attribute name at both request and session scope. EL resolution will only find one of them and I'm pretty sure it will find the one at request scope.
request.getSession().setAttribute("userSessionInfo", userSession); request.setAttribute("userSessionInfo", userSession);
Stan
-
2. Re: Getting Object from session in JSTL
nickarls Sep 16, 2012 5:03 PM (in response to yesitsgauravgoel)But since you go into the loop, apparently you are getting *some* EL-resolving. If you view the source, the c:param is not resolved either?