Problem: My statement "<bean:write name="tmpPersonalProfileForm" property="currentAddress" />" in PreviousNameAddress.jsp shows null value for property currentAddress. I checked all possible ways to find out why it is null but no clues !!
For all other properties of personalProfile.jsp , it shows correct values in PerviousNameAddress.jsp
say For ex, "<bean:write name="tmpPersonalProfileForm" property="LegalWork" />" is perfactly fine ..
Here, currentAddress is a radiobutton being used in PersonalProfile.jsp .It is there in actionForm PersonalProfileForm.
in the Action class PreviousNameAddressAction I already put everything in session but "currentAddress" shows null.
I hope I explained the problem well...
the Enviornment is : Websphere 5.1 WSAD 5.1 and struts 1.0
waiting for your replies.. thanks -Anand
posted 11 years ago
You told the currentaddress is a radio button in PersonalProfile.jsp , if it is the radio button you will be getting the null value if it is not checked and the value if you checked that one try to see in your actio class what you are getting in this radio button value.If you are getinng the value right in your action class then we will see further what is the problem.