On 6/16/06, Brian Long <[EMAIL PROTECTED]> wrote:

What's the mechanism in struts to accomplish pulling an object out of
the session and using it in a jsp?

If you are using a more recent app server like Tomcat 5.x+, you can just do ...

in JSP:
<div>My session var ${sessionVar}</div>

El expressions will first look in page scope, then request, then session.

You could also (and this is preferable) to just use JSTL...

<c:out value="${sessionVar}"/>

Or, I guess using <bean:write .. /> is still around also.


--
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to