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

Struts 2: forward from jsp to another

 
paddy Mahadeva Iyer
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I am back with a new problem.

I have a jsp in which if i click a button i want to forward to another jsp. I know i can use 'ServletDispatcher'. But in the project all calls to jsp are in the struts.xml.

So in my case. I don't have any logic for my action method (i dn't need that method at all). So how can i avoid going to the action class and forward to my next jsp from struts.xml?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have no "class" attribute in the action mapping the default ActionSupport class is used.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic