Hi all,
I need some help here.
I am using Struts 1.2
1. I have inputForm1.jsp where I input 2 values and then fetch the 3rd value
using a Submit action. This has been mapped to Submit.do and inputFormBean is
referrenced in the struts-config file.
Inside action class Submit.do, the 2 input values are read from InputForm and
third value is obtained from DB.
Then I set this 3rd value to the inputform using setter method and do a
mapping.forward("inputForm1.jsp")
However, when inputForm1.jsp gets displayed, all fields are null. No values
for 1,2 and for the newly fetched parameter 3.
What am I doing wrong ?
Again, I have
inputForm1.jsp -> SubmitAction->InputFormBean
In submitAction, I call setter method of formbean and sets the 3rd parameter
and do
mapping.findforward
Thanks,
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news,
photos & more.