Display image from post-request in GWT client

2009-07-30 Thread A2
Hi I want to display an image in GWT client by making a POST request to my request which queries the database for the image BLOB and returns that image with the correct content type and all. If I were using GET request, I think I could simply pass the path to the servlet as the Image URL, but ho

Re: Display image from post-request in GWT client

2009-03-10 Thread mufflon
This would work, but I think it would fragment the hdd too much. If it is possible I would rather not do it this way. On 10 Mrz., 16:04, Sean wrote: > Can't you create the .jpgs on the server, but have a cleanup script > that runs on a chronjob that cleans them out after a certain amount of > ti

Re: Display image from post-request in GWT client

2009-03-10 Thread Sean
Can't you create the .jpgs on the server, but have a cleanup script that runs on a chronjob that cleans them out after a certain amount of time? On Mar 10, 10:48 am, mufflon wrote: > ^^push > > Somebody got an idea? I really need to know how this works (if it > works at all). > I can´t save the

Re: Display image from post-request in GWT client

2009-03-10 Thread mufflon
^^push Somebody got an idea? I really need to know how this works (if it works at all). I can´t save the generated file on the server either because there will be a huge number of them... Best regards Felix --~--~-~--~~~---~--~~ You received this message because y

Display image from post-request in GWT client

2009-03-06 Thread mufflon
Hi there! I want to display a generated Diagram as an image in my GWT client. I send the request as a POST to my Servlet and send it back like this JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out); JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam (diagramImage); param.setQual