Hi Chuck,
How are you.
In one of my jsp pages without form, I defined a "return" button which acts as a submit button(in my opinion), once this "return" button is pressed, the request will be send to another page, according to the suggestions made by Struts, all the requests should go through the ActionServlet, so I implemented this jsp file like the following:
------------------------
<html:form action="/someActionMapping">
<input type="hidden" name="" value="">
<html:submit property="submit<U></U>">
<bean:message key="label.button.return"/></html:submit>
</html:form>
--------------------------
But I need to define an empty Hidden Form class and also specify it in the corresponding action mapping in the configuration file, this way works, but I just want to find out is there other way to solve the problem?
Thanks a lot.
Bryan
|