I have tried to get a servlet working:
ServletOutputStream responseOutputStream =
httpServletResponse.getOutputStream();
ImageIO.write(image, "jpg", responseOutputStream);
responseOutputStream.flush();
responseOutputStream.close();
when I surf to it:
http://localhost:8080/ImageServlet/gimage
then it shows in the browser without any problem.
When I try to set the same path in qooxdoo to an Image widget:
imageW.setSource("http://localhost:8080/ImageServlet/gimage");
I get an error:
025494 qx.ui.basic.Image[267]: Image could not be loaded:
http://localhost:8080/ImageServlet/gimage
What is the problem?
I want this dynamically generated image to be shown in the widget as I get it
in the browser. How can I do that?
Thanks for any answer...
Stefan
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel