struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Hook" <>
Subject Re: Handeling org.apache.struts.chain.commands.InvalidPathException
Date Tue, 05 Jun 2007 15:10:28 GMT
Thank you for your response.

We actually have an Exception Handler setup and it catches 
java.lang.Exception.  Here is the mapping for it...


Wouldn't this normally catch the 
org.apache.struts.chain.commands.InvalidPathException?  Or do we 
specifically catch the InvalidPathException?

Thank you for your time.

----Original Message Follows----
From: "Niall Pemberton" <>
Reply-To: "Struts Users Mailing List" <>
To: "Struts Users Mailing List" <>
Subject: Re: Handeling org.apache.struts.chain.commands.InvalidPathException
Date: Tue, 5 Jun 2007 11:52:14 +0100

You can either set up an exception handler for InvalidPathException or
you can mark one of your actions in the struts-config.xml as


On 6/4/07, Nathan Hook <> wrote:
>We have recently upgraded to struts 1.3.8 and have been running into the
>org.apache.struts.chain.commands.InvalidPathException when a user types in 
>url that doesn't map correctly.  I am hoping to instead of show the user 
>tomcat exception page, I wanted to show a 404 error page.  How do I go 
>changing the config files or struts to show the 404 page.
>Thank you for your time.

To unsubscribe, e-mail:
For additional commands, e-mail:

PC Magazine’s 2007 editors’ choice for best Web mail—award-winning Windows 
Live Hotmail.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message