Decided to deal with the 32kb limit in Internet Explorer 8. (Internet Explorer 9 is not a problem). Dealt with the problem by creating a servlet that outputs the byte array as a image. I'm sending the ID of the image, in this case a map, to the servlet using the GET method.
This is the code for the doGet operation for my dedicated ImageServlet: protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("image/png"); if(request.getParameter("MapID") != null) { int mapID = Integer.parseInt(request.getParameter("MapID")); byte[] image = null; try { image = wsStub.getMapImage(mapID); } catch (Exception e) { e.printStackTrace(); } OutputStream out = response.getOutputStream(); out.write(image); out.close(); } } On my RPC Servlet side, I simply return this as the "URL" of the image: ("ImageServlet?MapID=" + mapID) Code on the client side didn't change from what I earlier posted. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.