RE: access session object

2005-06-08 Thread David G. Friedman
PM To: Struts Users Mailing List; atta-ur rehman Subject: Re: access session object Thanks you the post. I need to access fields in the object stored in sessioin. I was thinking about using the . Any way, does tomcat 5.0 supports 2.4 servlet specs? --- atta-ur rehman <[EMAIL PROTECTED]>

Re: access session object

2005-06-08 Thread Tony Smith
Thanks you the post. I need to access fields in the object stored in sessioin. I was thinking about using the . Any way, does tomcat 5.0 supports 2.4 servlet specs? --- atta-ur rehman <[EMAIL PROTECTED]> wrote: > if you're running servlet container that supports > 2.4 servlet specs > and yo

Re: access session object

2005-06-08 Thread atta-ur rehman
if you're running servlet container that supports 2.4 servlet specs and you web app is also configured to be of version 2.4, thru element in your xml: ${myobject} in your JSP should print it. in scriptlets: <%=session.getAttribute("myobject")%> should work. "session" is reference to current s

access session object

2005-06-07 Thread Tony Smith
Hi: In my Action class, I stored a object in session with HttpSession session = request.getSession(); session.setAttribute("myobject", object); How can I access this object from jsp? Thanks, __ Yahoo! Mail Stay connected, organized, and p