Re: WebPage: empty response

2008-07-24 Thread Milan Křápek
Thanks for your advices. I used getRequestCycle().setRequestTarget(new EmptyRequestTarget()); and it works good. Only thing I had to change was that EmptyRequestTarget construktor is not accessible. So the final code is getRequestCycle().setRequestTarget(EmptyRequestTarget.getInstance()); This

Re: WebPage: empty response

2008-07-23 Thread Igor Vaynberg
throw new AbortResponseWithStatusCode(HttpServletResponse.SC_OK); should do it -igor 2008/7/23 Martijn Dashorst <[EMAIL PROTECTED]>: > 2 options: > > 1. don't use Wicket but a normal servlet for this > 2. getRequestCycle().setRequestTarget(new EmptyRequestTarget()); > > #2 should work, but I have

Re: WebPage: empty response

2008-07-23 Thread Martijn Dashorst
2 options: 1. don't use Wicket but a normal servlet for this 2. getRequestCycle().setRequestTarget(new EmptyRequestTarget()); #2 should work, but I haven't tried it :) Martijn On Wed, Jul 23, 2008 at 3:03 PM, Milan Křápek <[EMAIL PROTECTED]> wrote: > Hi, > > I need your advice. I am using wicke

WebPage: empty response

2008-07-23 Thread Milan Křápek
Hi, I need your advice. I am using wicket for generating VoiceXML for my application. In response my application sends some recorded audio as multipart/form-data content. Another wicket page stores this audio to HDD. The problem is that wicket returns HTTP status code 500, because there was n