This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Result attribute in Struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Result attribute in Struts 2" Watch "Result attribute in Struts 2" New topic
Author

Result attribute in Struts 2

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

The following is from Ian Roughly's material,



The above configuration corresponds to the below mentioned Action class.



They say that if if I don't specify any name like "error or "success", it defaults to "success". Why is that so? Why should the default always be success? Can I change that anywhere? Probably in the struts-default.xml?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Result attribute in Struts 2
 
Similar Threads
Struts 2 struts.xml not redirecting
struts2: howto correctly deligate actions on the struts.xml's include files
Struts 2 problem-actions cant find the result. WARNING: Could not find action or result
Struts2 Action Mapping Problem - No configuration found for the specified action
Custom result mapping in struts2