This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling another Action

 
Arulanand Dayalan
Ranch Hand
Posts: 126
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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.

Regards,
Arul.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic