This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes Custom result mapping in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Custom result mapping in struts2" Watch "Custom result mapping in struts2" New topic
Author

Custom result mapping in struts2

Michael Brown
Greenhorn

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..

Thanks.


Good luck!!
A small leak can sink a Gigantic ship.>
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Custom result mapping in struts2
 
Similar Threads
Login page
returning user defined strings in Struts 2 action classes
Result attribute in Struts 2
Map not being resolved (FIXED)
Page Cannot Be Displayed