You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Thiago H de Paula Figueiredo <th...@gmail.com> on 2007/11/19 16:08:10 UTC

[T5] Configuring error pages in web.xml

Hi, everybody!

I'm trying to create a 404 page using Tapestry 5. So, in my web.xml, I have

<error-page>
	<error-code>404</error-code>
	<location>/error/404</location>
</error-page>

If I access the error page directly, everything runs fine. But, if I enter  
a wrong URL, the page hangs. I've put breakpoints in Error's  
onActivate(Object[] objects), but they're not hit.

Any clues? Do I need to use a static HTML file redirecting to my T5 error  
page?

Thanks in advance. :)

-- 
Thiago H. de Paula Figueiredo
Desenvolvedor, Instrutor e Consultor de Tecnologia
Eteg Tecnologia da Informação Ltda.
http://www.eteg.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org