If at first something like that doesn't work for me, I tend to stop Tomcat,
erase the offending servlet, copy the new version in again, and restart.
However, it sounds like you've probably already done this.  The next thing I
would try is to just make absolutely sure the browser isn't serving you a
cached copy.  The best way to test this is to telnet to your HTTP server:

telnet servername 80
GET /absolute/url/to/servlet HTTP/1.1
Host: localhost

(make sure you hit return twice after the Host: line).  The response you get
in the telnet window will be exactly what the server is sending.

If you get the "new" version response from that command, then it's the
browser at fault; otherwise, it's Tomcat.

-Chris


-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Ketharinath Kamalanathan
Sent: Friday, November 30, 2001 1:02 PM
To: [EMAIL PROTECTED]
Subject: Re: Servlet refresh


Yes I did. I deleted all the cache from the browser too.

Thanks

/KK
----- Original Message -----
From: Chris Tucker
To: [EMAIL PROTECTED]
Sent: Friday, November 30, 2001 2:54 PM
Subject: Re: Servlet refresh


Have you emptied the browser cache/shift-reloaded the page?
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Ketharinath Kamalanathan
Sent: Friday, November 30, 2001 12:54 PM
To: [EMAIL PROTECTED]
Subject: Servlet refresh


Hello:

I am running TomCat 4.0.1 and I have servlet class file placed in the
appropriate position.

I made some changes ot my servlet source class and compiled. Compilation
went thorugh. I restarted my TomCat server. But still, I do not see the
changes. I have changed hte text to be displayed. I am not able to see the
change in the browser.

Where am I going wrong?

Thanks in advance.

/KK

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to