struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Sherman <a...@teachandtravel.com>
Subject Re: Throwing a 404?
Date Wed, 02 Oct 2002 19:27:38 GMT
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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message