Please send a small sample of your servlet code so that the readers on the
list can take a crack at it.  This usually gives the best results.

        Matt

 -----Original Message-----
From:   A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]  On Behalf Of Sushil
Singh
Sent:   Saturday, December 02, 2000 3:57 PM
To:     [EMAIL PROTECTED]
Subject:        ResourceBundle - Caching problem

Hi,

I am using a property file which contains some parameters, my servlet is
reading everytime whenever its called (GET).  For the first time its
loading perfectly, now if I change the values in property file, still my
servlet is having old value, its uanble to refresh the values from
Property file.

I have disable page catching with following Header setting:
       response.setHeader("Pragma", "no-cache" );
       response.setHeader("Cache-Control", "no-cache" );
       response.setHeader("Cache-Control", "no-store" );
       response.setDateHeader("Expires", 0 );

For testing purpose, I am incrementing counter variable and its
incrementing which shows that servlet is called.

Any ideas?

Thanks in advance.

Sushil

___________________________________________________________________________
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

___________________________________________________________________________
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