As Madhu says, I get a blank TelNet Screen.

I have the servlet file in localhost\tomcat\webapps\examples\web-inf\classes

any suggestions??

Thanks

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


> To telnet to it you should issue the command:
> telnet 65.71.103.122 8080
>
> When it's connected, type in:
> GET /path/to/your/servlet HTTP/1.1
> Host: localhost
>
> You didn't say where your servlet was located, so I don't know what path
to
> use: when you test it, simply replace the "/path/to/your/servlet" part of
> the HTTP request with the actual path to your servlet.  Also, if you're on
> Windows 9x, the telnet client is a bit crappy.  You won't see a "local
echo"
> of what you type unless you explicitly set that option: the characters you
> type will go through, you just won't see anything until you hit
> <return><return> after typing in the host line.
>
> When I tried it out I got the standard Tomcat "welcome" page on /, so
Tomcat
> seems to be working OK.  One thing it might be worth checking, if you're
> accessing the machine on the web rather than directly, is if there is an
> intermediate proxy server or caching server that may have cached an old
copy
> of the content and be serving that instead.  Most web caches are pretty
> intelligent with regards to this stuff now, but problems can still occur.
>
> -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:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Servlet refresh
>
>
> 1. I am not able to telnet to my server.
>
> I havethe machine on the Net with IP 65.71.103.122 and port 8080 for my
web
> app. Can you tell me if I have any thing wrong in what I have set up by
> seeing the page yourself??
>
> Thanks
>
> /KK
> ----- Original Message -----
> From: "Chris Tucker" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, November 30, 2001 3:06 PM
> 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
> >
>
>
===========================================================================
> 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
>
>
===========================================================================
> 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
>

===========================================================================
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