Please correct me if I am wrong about this assumption:
All these Tags <html:option>, <html:options>, <html:optionsCollection>,
 <logic:iterate> etc (not sure how many) need <bean:define> Tag.
That means, if we want to use <html:option>, we need a <bean:define> Tag in
JSP even though 
we have prepared that(Map/List/Set/String etc) in Action( like
request.setAttribute( ) ) 
that can be used with <html:option> tag.

Is it safe to assume like that? Is there any good document on using these
Tags?

Thanks
Reddy


> -----Original Message-----
> From: Max Cooper [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, April 03, 2003 4:02 PM
> To:   Struts Users Mailing List
> Subject:      Re: Loosing Objects in the Request.
> 
> Are you certain that the request is getting to the JSP with the test in
> it?
> 
> -Max
> 
> ----- Original Message -----
> From: "Jindal, Ashwini" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 03, 2003 11:43 AM
> Subject: Loosing Objects in the Request.
> 
> 
> Hi All,
> 
> I am trying to set some attributes in the request object
> 
>        request.setAttribute("test", "TEST");
> 
> before invoking the forward:
> 
>        mapping.findForward(Constants.SUCCESS_KEY);
> 
> When I look up in the jsp:
> 
> 
>         <logic:present name="test" scope="request">
>       FOUND!
>         </logic:present>
> 
> 
> The implementation is in:
> 
>         public ActionForward execute(ActionMapping mapping, ActionForm
> form,
>                HttpServletRequest request, HttpServletResponse response)
> throws Exception
> 
> 
> I do not find the object "test".
> 
> Any explanation???
> 
> ..AJ
> 
> 
> ---------------------------------------------------------------------
> 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]

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

Reply via email to