[S2] File not found exception
How can i handle a file not found exception in struts 2..for example if the user type in a url of the server but the jsp file is not found a default jsp file will appear saying sorry cannot find that file.. How should i handle this? Thanks in advance.. -- View this message in context: http://www.nabble.com/-S2--File-not-found-exception-tf4134406.html#a11758723 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re:[S2] File not found exception
You can configure the error page section of your web deployment descriptor to do such things see your servlet specification for exact declaration. It should be something like : error-page error-code404/error-code location/jsp/exception.jsp/location /error-page David
Re:[S2] File not found exception
Hello David, I already done that and still there is an exception thrown and caught in our Sun Java System application logs. how can i make that this exception is caught by struts and this is not log in our server logs.. thanks again. David Binder [EMAIL PROTECTED] wrote: You can configure the error page section of your web deployment descriptor to do such things see your servlet specification for exact declaration. It should be something like : 404 /jsp/exception.jsp David - Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.