At the moment your form submission is going to localhost:8080, not
65.71.103.122:8080 -- I assume these two IP's are the same machine for you?
If you want it to be testable by people on the list, you'll need to fix up
your form submission to go to the 'net IP, not localhost.

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 2:02 PM
To: [EMAIL PROTECTED]
Subject: Re: Servlet refresh


but the fun is when you submit something on that page.

The TOmCat server is up and running fine. I get he TomCat Index page. But
hte servlet I am talkng baout is my servlet for my app.

http://65.71.103.122:8080/examples/jsp/middleware/index.html

If you visit there, you will get a login screen.(this is just a dummy one).
typr something in the username nad password and submit. Then you will get a
message on the browser. What actually should come is the out put for the
code given below. BUt check out what comes up.

Thanks
//KK

 public void doGet(HttpServletRequest req, HttpServletResponse res) throws
IOException, ServletException {

                        res.setContentType("text/html");
                        PrintWriter out = res.getWriter();

                        String un = req.getParameter("uname"));

                        out.println("<HTML>");
                        out.println("<HEAD> <TITLE> Middleware Login
</TITLE> </HEAD>");
                        out.println("<BODY>");
                        out.println("My Login is Login Success");
                        out.println(un);
                        out.println("</BODY></HTML>");


        }


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


> Seems to be working fine.  I just went to
> http://65.71.103.122:8080/index.html and the TomCat start page came right
> up.
>     (*Chris*)
>
> ----- Original Message -----
> From: "Ketharinath Kamalanathan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, November 30, 2001 1:39 PM
> Subject: Re: [JSP-INTEREST] 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
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.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