No, when you call the sendError method a valid 404 response is sent back to 
the browser.  Try it out :-).

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:27:38 -0400
>
>David Graham wrote:
>>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.
>
>Wouldn't this cause the browser to not recognize the 404? This would 
>undoubtedly be a Bad Thing for spiders, etc.
>
>Can I forward to a custom error page, and have the page set the appropriate 
>header?
>
>Thanks,
>
>A.
>
>P.S. Please excuse my newbieness. (-:
>
>--
>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]>




_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

Reply via email to