Thursday, May 29, 2014

Re: Access OutputStream of HttpServlet within GWT Client

What's different between them?  Are you using the return value of getText() from the Response given to your RequestCallback?  If the HTML looks slightly different after you put it into the DOM when you examine it, that's just the browser reformatting your HTML code.  If it's completely different there may be something with the way the response is given (headers and such) or there's something wrong with your request.

On Wednesday, May 28, 2014 9:42:22 AM UTC-5, Ben wrote:
Hi,

we have the following scenario:

We want to show an html output from our reporting framework within the gwt client.
We have access to this generated html content via an HttpServlet that writes its output to
HttpServletResponse.getOutputStream()

We already had a look at RequestBuilder. But the response does not look like the one from the HttpServlet.

Is there any chance to access data from a HttpServlet response in GWT?

Regards
Ben

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment