Check if on click you're effectively performing a submit and not just merely following a link; only the<s:submit>tag should be used or a link which calls ajavascript:form.submit()!
Be sure that you have a public setter (and getter) within your action for all the variables you're submitting, otherwise the (private) member variables within your action will never receive a value!
Monday, June 15, 2009
Struts2: form not submitting
When using Struts2, here are some hints about what may be happening if after submit the data of your form isn't available within the corresponding action:
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment