struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sniadach, Tomasz" <Sniad...@makdata.de>
Subject AW: newbie and html:form
Date Wed, 04 Feb 2004 10:58:23 GMT
ok, i don´t know if we understand us :)

I have in a session a HashMap with parameters and i use it in other JSP´s with 

<html:link page="/myAction.do" name="params">Link</html:link>

myAction.do forwards to a JSP, let´s say Form.jsp. Here is my form

<html:form action="/myAction2.do" method="post">
...
and here i need to give in the action of form my params.
How can i reach it ?

Tomek

-----Ursprüngliche Nachricht-----
Von: Markus [mailto:majoko@gmx.com] 
Gesendet: Mittwoch, 4. Februar 2004 11:48
An: Struts Users Mailing List
Betreff: Re: newbie and html:form


> > Hi experts :),
> > 
> > is it possible to add a request parameter to <html:form > ?
> > In <html:link> i can add a bean with name="params", but i cannot use 
> > it
> > on html:form. 
> > Is there a trick to add the bean as request parameter ?
> > Thanks for help
> > Tomek
> > 
> > 
> Hi,
> try a hidden field.
> Regards,
> 
> Markus
Oh sorry I've answered to fast!
The bean should be stored in the scope.
And there you will reach it,
Regards,

Markus

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message