Recieving 'null' values from a jsp page into Struts2 Action?

There may be multiple emements having name usename in your jsp page instead of using document. GetElementsByName for getting text box value try to get using form reference document.formid.username. Value and also try setting empty value in your username textbox declaration like s:textfield .... value.

In the LoginAction class, you will need to have the getter and setter method for the attributes you want to receive from the jsp page. Try to add the getter and setters to it.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions