how the value in the form pass into Action class in Struts
Joined: Mar 06, 2001
Hi, I'm new to Struts. I created a simple form, it use the text input to send the form data to the server. But in the Action class when I try to get the value from the ActionForm, it has null value(so it throws null pointer exception)? Where should I check the code?
Joined: Apr 16, 2008
Struts is a great tool. You first should check the code of the Action class. Copy and paste in a post here so we can see, if you don't mind.
The next place you might look is in the Java Server Page that has the data input form.