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 <webapp> element in your xml:
${myobject} in your JSP should print it. in scriptlets: <%=session.getAttribute("myobject")%> should work. "session" is reference to current session is available for all the JSPs. HTH. ATTA P.S By the way, and no offence please, this isn't a Struts question as much as a JSP question. On 6/7/05, Tony Smith <[EMAIL PROTECTED]> wrote: > 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 protected. Take the tour: > http://tour.mail.yahoo.com/mailtour.html > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]