Re: Sending HTTP response codes

Jacob Kjome <[email protected]> Mon, 26 Jan 2004 23:26:25 -0600
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
You should be able to send a normal servlet response and set the event as 
handled.

response.sendError(res.SC_UNAUTHORIZED);

Jake

At 01:43 PM 1/26/2004 -0600, you wrote:
>Hi ALL,
>
>    I need to be able to send HTTP 401 Unauthorized responses from 
> Barracuda, when my ValidateEvent handles sees that the user is not logged 
> in. Are there any canned Render Handlers, or Exceptions to handle sending 
> back different HTTP codes? I know that the ClientSideRedirectException 
> will allow you to  send  307 redirect responses, but what about the other 
> types of responses?
>
>Thanks,
>Denny
>
>