You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Anand M S <an...@hotmail.com> on 2003/05/13 22:29:59 UTC
passing form from one action to another action
Hi
I have a form which will be passed to from one action to another action. But
before passing it to the second action, I''m setting a form field, but in
second action I'm not getting the value, am I missing any thing?
any ideas?
Thanks,
Anand
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: passing form from one action to another action
Posted by Andrew Hill <an...@gridnode.com>.
Dont forget that when you hit the second action your action form will be
reset & populated again from the request parameters... which can overwrite
changes you made to it in the first action.
Furthermore, if use are using a redirecting forward and a request scoped
actionForm then you will get a new actionform instance when you hit the
second action (if you need it to be a redirecting forward then you would
have to put the form into session scope).
-----Original Message-----
From: Denis Avdic [mailto:denis@betterway.net]
Sent: Wednesday, 14 May 2003 04:38
To: Struts Users Mailing List
Subject: Re: passing form from one action to another action
Well, how are you passing it?
Are you getting any other fields that were set?
Any code you can provide?
Denis
Anand M S wrote:
> Hi
>
> I have a form which will be passed to from one action to another
> action. But before passing it to the second action, I''m setting a
> form field, but in second action I'm not getting the value, am I
> missing any thing?
>
> any ideas?
>
> Thanks,
> Anand
>
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
>
> ---------------------------------------------------------------------
> 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
Re: passing form from one action to another action
Posted by Denis Avdic <de...@betterway.net>.
Well, how are you passing it?
Are you getting any other fields that were set?
Any code you can provide?
Denis
Anand M S wrote:
> Hi
>
> I have a form which will be passed to from one action to another
> action. But before passing it to the second action, I''m setting a
> form field, but in second action I'm not getting the value, am I
> missing any thing?
>
> any ideas?
>
> Thanks,
> Anand
>
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
>
> ---------------------------------------------------------------------
> 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
RE: passing form from one action to another action
Posted by Mark Galbreath <ma...@qat.com>.
How are you passing the form?
-----Original Message-----
From: Anand M S [mailto:anandms5@hotmail.com]
Sent: Tuesday, May 13, 2003 4:30 PM
I have a form which will be passed to from one action to another action. But
before passing it to the second action, I''m setting a form field, but in
second action I'm not getting the value, am I missing any thing?
any ideas?
Thanks,
Anand
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org