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

how to get different jsp page using same action class method.

vijay akni kumar
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got ajsp with two button which calls struts action class methods(ShowEntries).

In struts action class i got a method called

return mapping.findForward("xxxxx");

In Jsp, when First button is clicked it needs to displays information in display tags and second button needs to display data in Html page. but Both are pointed to ShowEntries method of Action classes. we have only one forward for one action. without repetition of code how can i access. or is there any way to keep to two return find.forwards.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic