simply use:

response_.sendError(code_, message_);

map your custom error page in web.xml and place it in the root of your 
application context.

Cheers,
Peter

----- Original Message -----
From: "Ulrich Stärk" <u...@spielviel.de>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Monday, 23 February, 2009 20:24:42 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: http error on exception

Never tested it but you should be able to inject Response, call 
response.setStatus(500) and 
response.sendRedirect(Link/String).

Uli

Thomas Clavier schrieb:
>     Hello All,
> 
> I search a solution to launch an http error (500) when tapestry throw an
> Exception. I have found documentation on how to override tapestry
> Exception ... but that launch a "200 OK"
> 
> have you a solution ?
> 


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


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

Reply via email to