I have a Submission Form mapped to Submission action. This form is again mapped to Submission Jsp. My problem is in the submission jsp i have a button call report generate. When i click on report generate i should call report action. This report action is mapped to report form which has it own jsp. I need to pass some values to report action when i click on report generate button. Since its an different form i cant directly call the report action. So i create a hidden form and set all the values in the hidden form. Then i get all the values from request using request.getparameter. Is there any other method so that i could directly call report with populating values.
Thanks in advance.
posted 9 years ago
I'm having a little trouble visualizing how this all fits together. Could you post the following?
1-Relevant portions of your struts-config.xml file showing the action mappings and ActionForms you mentioned.
2-Relevant portions of the JSPs you talked about. At leas show us the <html:form> tags, as well as the button that submits the report.