File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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

Harish Maridi
Ranch Hand

Joined: May 20, 2008
Posts: 60
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://aspose.com/file-tools
 
subject: Parameter in Action mapping in Struts config xml problem