Re: access ServletOutputStream in wicket

2009-01-16 Thread Sébastien Piller
I really doubt that such an exception may be fixed by upgrading jasperreport (NotSerializableException is pure wicket exception, not a jasper one). The stacktrace shows you that the problem is here: final java.io.InputStream com.homeaccount.web.jasper.JRResource$1.val$report [class=

Re: access ServletOutputStream in wicket

2009-01-15 Thread noon
tream.close(); >>> >>> How should I acccess the servlet objects, or is there a better way to do >>> this that is the "wicket way(tm)"? >>> >>> Much appreciated, Jason >>> >>> >> >> >>

Re: access ServletOutputStream in wicket

2009-01-15 Thread novotny
---------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/access-ServletOutputS

Re: access ServletOutputStream in wicket

2009-01-15 Thread Sébastien Piller
Hi, look at RequestCycle#setRequestTarget and ResourceStreamRequestTarget novotny wrote: Hi, I'm learning Jasper to create/display a PDF when a link is clicked and the template code I have looks like: ServletOutputStream servletOutputStream = response.getOutputStream(); InputStream r

Re: access ServletOutputStream in wicket

2009-01-15 Thread Igor Vaynberg
that is the "wicket way(tm)"? > > Much appreciated, Jason > > -- > View this message in context: > http://www.nabble.com/access-ServletOutputStream-in-wicket-tp21487704p21487704.html > Sent from the Wicket - User mailing list archive at Nabble.com.

access ServletOutputStream in wicket

2009-01-15 Thread novotny
servletOutputStream.flush(); servletOutputStream.close(); How should I acccess the servlet objects, or is there a better way to do this that is the "wicket way(tm)"? Much appreciated, Jason -- View this message in context: http://www.nabble.com/access-ServletOutputStream-in-wicket-tp21487704p214877