Posted By:
the_daniel_the_daniel
Posted On:
Thursday, December 15, 2005 09:46 AM
Hello, I have a question regarding a servlet and my HTML. In my HTML page I should load/ reaload some GIF images that are being dynamically created on the serves: drawn with Java 2 D and afterwards GIF encoded. response.setContentType("image/gif"); GifEncoder encoder = new GifEncoder(img, out); in the servlet GraphicServlet.java, for example. In my HTML page I want to load this image that is being formed on the server. Here's that piece of code: A HREF="http://localhost:8080/servlet/mypackage.myServlet?Nothing!" onMouseover="ddrivetip('Click to draw a selected shape', 'yellow', 250)"; onMouseout=
More>>
Hello,
I have a question regarding a servlet and my HTML. In my HTML page I should load/ reaload some GIF images that are being dynamically created on the serves: drawn with Java 2 D and afterwards GIF encoded.
response.setContentType("image/gif");
GifEncoder encoder = new GifEncoder(img, out);
in the servlet GraphicServlet.java, for example.
In my HTML page I want to load this image that is being formed on the server. Here's that piece of code:
A HREF="http://localhost:8080/servlet/mypackage.myServlet?Nothing!" onMouseover="ddrivetip('Click to draw a selected shape', 'yellow', 250)";
onMouseout="hideddrivetip()">
img WIDTH=375 HEIGHT=250 BORDER=0 src="
<%
if (request.getParameter("string")!=null)
out.print((String)request.getParameter("string"));
else
out.print("http://localhost:8080/servlet/mypackage.GraficServlet?undo");
%>" ISMAP/>
The thing is that I want to load in HTML page in a table the image splitted on the the server. Every cell of the table is a part of the image. My question is how I can do that? Assign an id to every part and load that? What parameted should I pass between the HTML page and the server in order to be able to do that? How can I do in order to be able to reload in the browser only that piece of image that suffered modifications?
Thank you in advance.
Dani
<<Less