A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
global exceptions in struts
Joined: Jan 12, 2007
Mar 14, 2007 08:38:00
1.1, I am using global exceptions, but it is not working.
This is what I have added in struts-config.xml, but Sample.jsp is not called when the exception is thrown and I get the error page. Could someone please help me? Thanks.
key="sample.error" type="java.lang.NumberFormatException" path="/jsp/Sample.jsp"/>
It is sorta covered in the
JavaRanch Style Guide
subject: global exceptions in struts
Built in exceptions in Struts
custom error page
how to call a specific action
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014