Hi folks,
iam ill-using a "PrintPage" to start my Printing progress which delivers a pdf-File back to the User by writing to the response output Stream.
I have to use a "Wicket-Page" because in one particular case i want to show the Paths to the pdfs instead of stream them directly.
Everything works fine. But when i stream the file back to client wicket throws this error (which is comprehensible). But how can i say to wicket: "Hey I've sended the response before, dont care about!' ?
Iam using wicket 1.4.19
2012-06-06 10:57:49,953 144648 ERROR [http-8070-5] org.apache.wicket.protocol.http.WicketFilter - closing the buffer error
java.lang.IllegalStateException: getOutputStream() has already been called for this response
at org.apache.catalina.connector.Response.getWriter(Response.java:610)
at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198)
at org.apache.wicket.protocol.http.WebResponse.write(WebResponse.java:432)
at org.apache.wicket.protocol.http.BufferedWebResponse.close(BufferedWebResponse.java:74)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:502)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)Thanks in Advance for any help.
And excuse my English, its not my mothers tongue.