Have you tried:

import  org.apache.wicket.protocol.http.servlet.*;


throw new AbortWithWebErrorCodeException(401)

// or maybe:

throw new AbortWithHttpStatusException(401, false)



On 7/3/07, Maurice Marrink <[EMAIL PROTECTED]> wrote:

I did some digging in the code and found the following: using the
RequestCycle you can get the Response. which is most likely a
WebResponse from there you can get the HttpServletResponse and set the
statuscode to 401. Question remains how to tell wicket to stop
processing and simply return the statuscode.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to