This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parameter in Action mapping in Struts config xml problem

 
Harish Maridi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 329
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic