This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android 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: 9935
    
    3

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
 
It's not a secret anymore!