-----Original Message-----
From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Madhusudhan, Ramanujan
Sent: Friday, November 30, 2001 1:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Servlet refreshHi chris,
I am trying to use the telnet as per your advice.
When you say "servername". I am using the "localhost"
On the command prompt I type "telnet localhost : 80"
when I do this, I get a blank screen. I then have to enter twice before I see some HTML data.
Am I doing right here?madu
--------------------------------------------
Madu Ramanujan
Business Analyst
Pacificorp
-----Original Message-----
From: Chris Tucker [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 1:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Servlet refresh
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
Title: RE: Servlet refresh
Yeah, the HTTP
server won't write anything to the display until the headers are sent for the
client. When you're telnetting in, you're effectively opening a raw-text
socket to the server. You can then explicitly type in the HTTP headers
that you want sent, and when you hit <return> twice, you get the
response. The HTTP protocol describes exactly how a well-formed HTTP
header must be created: you just have to manually create it by typing in the
right values. Take a look at the HTTP/1.1 RFC over at www.ietf.org for the full specification of what
is and is not allowed.
- Re: Servlet refresh Ketharinath Kamalanathan
- Re: Servlet refresh Chris Pratt
- Re: Servlet refresh Ketharinath Kamalanathan
- Re: Servlet refresh Chris Tucker
- Re: Servlet refresh Chris Tucker
- Re: Servlet refresh Ketharinath Kamalanathan
- Re: Servlet refresh Ketharinath Kamalanathan
- Re: Servlet refresh Margaret Fisk
- Re: Servlet refresh Ketharinath Kamalanathan
- Re: Servlet refresh Madhusudhan, Ramanujan
- Re: Servlet refresh Chris Tucker
- Re: Servlet refresh Madhusudhan, Ramanujan
- Re: Servlet refresh Michael Reilly
