After a lot of searching, I found that you there is no "struts way" of
adding a request parameter to <bean:include>. I used java code to
solve it:

<bean:include id="fooId" page='<%= "/loadFoo.do?fooParam=bar" %>'/>
<bean:write name="fooId"/>

Antonis.

On 10/25/06, Antonis Lebesis <[EMAIL PROTECTED]> wrote:
Hello Martin,
  thanks for the answer, but I 'm afraid I wasn't clear. I want to set
a parameter to the call of login action not retrieve it in the login
action.

Thanks again,
Antonis

On 10/25/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
> The request parameter is available thru bean:parameter
> be mindful that multiple="true" must be specified in the event you are 
sotring an array
> For more info check out
> 
http://struts.apache.org/1.x/struts-taglib/apidocs/org/apache/struts/taglib/bean/package-summary.html#package_description
>
> Anyone else?
> M-
>
> This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the
> designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
> this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its
> contents
> ----- Original Message -----
> From: "Antonis Lebesis" <[EMAIL PROTECTED]>
> To: "struts" <user@struts.apache.org>
> Sent: Tuesday, October 24, 2006 7:08 PM
> Subject: Add request parameter in <bean:include>
>
>
> > Hello,
> >
> >  I want to add a request parameter in <bean:include> tag. I searched
> > the user guide, but I didn't find anything relevant. Have you any idea
> > on how to do this?
> >
> > The code I 'm using is:
> >
> > <bean:include forward="login" id="loginForm"/>
> > <bean:write name="loginForm" filter="false"/>
> >
> > Thanks,
> > Antonis.
> >
> > ---------------------------------------------------------------------
> > 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