struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maya menon <maya_j...@yahoo.com>
Subject Re: Struts 1.2 using formbeans
Date Tue, 14 Aug 2007 20:52:10 GMT
Chris,
   
  Thanks for the reply, I dont have redirect=true
  Here is the action:
   
  <action path="/SubmitAction" 
  type="com.test.actions.ListNPAAction" name="InputForm">
  <forward name="Input" path="/jsp/InputForm.jsp"/>
  <forward name="failure" path="/jsp/failure.jsp"/>
  </action>
   
  Thanks again, 

Christopher Schultz <chris@christopherschultz.net> wrote:
  -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maya,

Maya menon wrote:
> In submitAction, I call setter method of formbean and sets the 3rd
> parameter and do mapping.findforward

Does the forward you are using have redirect="true"? If so, the form
bean might be lost of the form bean is not in session scope.

Can you post the relevant parts of your struts-config.xml? That would be
helpful.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGwhTe9CaO5/Lv0PARAppgAKCdANJE6OJE5V9lBiNOeTk3dJqTRQCgmGQu
WnseD+9z1hsQFLUFaDNeX68=
=Rxup
-----END PGP SIGNATURE-----

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



       
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos &
more. 
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message