I believe after you call that method you can't forward to anything.  You 
might try it though.  The user will see some 404 message.  If you want the 
404 page to look like your app you should forward to your custom 404 page 
and forget about the sendError.

Dave


>From: Adam Sherman <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: Struts Users Mailing List <[EMAIL PROTECTED]>
>Subject: Re: Throwing a 404?
>Date: Wed, 02 Oct 2002 15:14:29 -0400
>
>David Graham wrote:
>>I've configured my container to display a page called 404.jsp whenever a 
>>page in my app is not found.  You could either use the sendError method 
>>which will probably display an ugly 404 page or you could forward to your 
>>custom 404 page.
>
>That would probably do it. After doing sendError("404"), where would I 
>forward to?
>
>Or will the request now contain a 404, but I still need to show a page?
>
>Thanks for your help,
>
>A.
>
>--
>Adam Sherman
>Software Developer
>Teach and Travel Inc.
>+1.613.241.3103
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to