----- Original Message -----
From: "A Rokanuzzaman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>

> But, the servlet caches first image and the image does not change if I
> change my code.

Is is image generated only once in servlet and then cached in the memory by
the servlet?
Or is it a dynamic image to be generated on each request?


> It changes only if I restart the PC.

This PC is the client(browser) or  the server?
This is relevant to know if the image is being cached by the browser or the
server.

> Does anyone know how
> to refresh the image without restarting PC?

The specs recommend that the reloading of servlets code change *should* be
supported, but how to enable this is not specified and may vary from one
container to container (if the container supports this feature)


> I think I should refresh the image some way, I do not know how.

If this is a problem due to caching on the browser, you can look at the
following links to read more about caching.

http://www.web-caching.com/
http://www.mnot.net/cache_docs/

Regds,
Gokul

> Regards.
>
>
>
>                         *************************
>                         *                       *
>                         *  A.S.M. Rokanuzzaman  *
>                         *  Computer Science     *
>                         *  UND                  *
>                         *  Phone:701-777-9352   *
>                         *                       *
>                         *************************

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to