*
The moose likes Struts and the fly likes Struts2 question. Actions with the same result. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 question. Actions with the same result." Watch "Struts2 question. Actions with the same result." New topic
Author

Struts2 question. Actions with the same result.

Konstantin Netkachev
Greenhorn

Joined: Jul 24, 2009
Posts: 15
I have many actions with the same "input" result with the same redirection:
Is there possibility to do something in order to not declare this result in every action?
May be somehow to define it in one place as default?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Define a global result?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts2 question. Actions with the same result.
 
Similar Threads
Struts 2.1 Need two different success results
https becomes http after redirectAction
redirect action not https?
Populating a Dropdown Box
Error while forwarding from struts.xml