OK, 

Thanks everyone for your help.

The correct approach is:

Java:
request.setAttribute("myThing", myThing);

JSP:
<c:out value="${requestScope.myThing}" />

Thanks again

On Tue, 04 Jan 2005 18:22:32 -0800, Curtis Taylor <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> You *cannot* directly add parameters to an http request inside an Action
> class. You *can* add attributes  to the request context (that's what
> HttpServletRequest was designed for).
> 
> So, in your JSTL-aware page, access your request *attribute*:
> 
> <c:out value="${myThing}" /> or
> 
> <c:out value="${requestScope.myThing}" />
> 
> HTH,
> 
> Curtis
> 
> dsarris wrote:
> > <snip>
> >
> > I do not thing that Hollaway solution is the correct one. I do not
> > pass it to the request parameter list. As brenmcguire stated, I can
> > only set an attribute in the Request (not the parameters).
> >
> > Thus, what is the equivalent for retrieving the attribute in my JSP page?
> >
> > <c:out value="${myThing}"/>
> > OR
> > <c:out value="${param.myThing}"/>
>

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

Reply via email to