File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Custom result mapping in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Custom result mapping in struts2" Watch "Custom result mapping in struts2" New topic

Custom result mapping in struts2

Michael Brown

Joined: May 05, 2008
Posts: 27
Hello to everyone!

I have a short question, and hope that someone could help me...

Can I map other result names in struts mapping, and not just "success", "input", "error","login" and others that come with struts.

Can I say ( in some action class , in Execute() method) :

and in mapping say something like

If "yes", what do I need to do to enable all this...
Raza Mohd
Ranch Hand

Joined: Jan 20, 2010
Posts: 247

hi Brown..

You dont need to configure it.

Struts bydefault do it for you..


Good luck!!
A small leak can sink a Gigantic ship.>
I agree. Here's the link:
subject: Custom result mapping in struts2
It's not a secret anymore!