aspose file tools
The moose likes Struts and the fly likes Parameter in Action mapping in Struts config xml problem 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 "Parameter in Action mapping in Struts config xml problem" Watch "Parameter in Action mapping in Struts config xml problem" New topic
Author

Parameter in Action mapping in Struts config xml problem

mark watson
Ranch Hand

Joined: May 20, 2008
Posts: 44
Hi,



1 is working fine.
2 is handled using unspecified method
3 is throwing unhandled exception

is there any better way to handle the 3rd case? In 3rd case I want to forward them to specified error page instead of common error page.

Any suggestions appreciated, Thanks.

Mark.
Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Mark, provide more info regarding the 3 case (when, where and how it is happening).

Just to add, we can use global exceptions in struts-config with "type" attribute where we can define forward based on custom exception as well, but i didnt get the exact scenario of yours


Have Fun with Java
little,little.. little by little makes a lot..
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Parameter in Action mapping in Struts config xml problem
 
Similar Threads
action mapping for pre-login
why actionform gets reset?
Can an action class forward to another action class?
How to use Formbean's validate method?
How to change the input attribute in the ActionForm ?