Struts 1.2 using formbeans 2007-08-14 - By Maya menon
Back 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@(protected)> 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@(protected) For additional commands, e-mail: user-help@(protected)
-- ---- ---- ---- ---- ---- ----- Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
|
|