File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Result attribute in Struts 2" Watch "Result attribute in Struts 2" New topic

Result attribute in Struts 2

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 10031

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:
subject: Result attribute in Struts 2
It's not a secret anymore!