>
> Thus, if I set an attribute using the HttpServletRequest.setAttribute,
> how can I retrieve it my JSP page?
> I know that all these can be very easy using an ActionForm, but I do
> not want to create an ActionForm for just a plain String attribute.
>
Supposing in the Java code:
<snip>
String myThing;
..
request.setAttribute("myThing", myThing);
</snip>
In the JSP code do this:
<bean:write name="myThing" scope="request" />
Obviously include the "struts-bean" tag library in your JSP page.
Notice that 'scope="request"' is optional.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]