011 8:40 PM
Subject: Gwt RequestBuilder + Servlet issue
HI,
I am using a RequestBuilder object from Gwt to send a innerHtml string
from a panel to generate a PDF report in the servlet
SomeWhat like this:
RequestBuilder rb = new RequestBuilder("RequestBuilder.POST","URL");
rb.sendRequestD
use Window.open("/pdfUrl", "_blank", ""); in gwt to call the servlet, in
servlet write the code for generating pdf.
On Fri, Sep 2, 2011 at 8:44 PM, Uemit wrote:
> So you want to send some data to the servlet and want to display a PDF
> (which is generated by the servlet based on the data sent
So you want to send some data to the servlet and want to display a PDF
(which is generated by the servlet based on the data sent) in the browser?
There are two ways of how to do it:
1.) Using RequestBuilder you could generate a AJAX call to your Servlet (as
you did it). However in the callback
HI,
I am using a RequestBuilder object from Gwt to send a innerHtml string
from a panel to generate a PDF report in the servlet
SomeWhat like this:
RequestBuilder rb = new RequestBuilder("RequestBuilder.POST","URL");
rb.sendRequestData ("Some String");
So the servlet is some class which extend