File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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"/>
I agree. Here's the link:
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