Hi Milan,

I think you should throw the exception AbortWithHttpStatusException.

If you change your mind and want to set the HTTP status code, but provide content as well, then call something like ((WebResponse)getResponse).getHttpServletResponse().setStatus(HttpServletResponse.SC_...) in the constructor of your page.

Regards,
   Erik.


Milan Křápek schreef:
Thanks for response but this is not th exact thing I want. I need to know the 
name of wicket component, where can I get access to request from user and fill 
the response for him. All I need is some parent class of WebPage. But this 
object must return just http code without any HTML. (I was not able to send 
response from WebPage without having any addititonal HTML file ).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to