This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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 extends HttpServlet.
I am able to see that the Request is invoking the Servlet , but some how it is neither opening an inline window or any attachment.
And there are no exceptions caught at the console. Can you please suggest me how to go about it
RequestBuilder calls may not work if you want to display an attachment/open a document inline. Try anchor/window.open/window.location.assign.(For last one you will loose GWT state) Also make sure that the headers are correctly set in response.