Fang Jing
Your response is very useful to me as I am facing the same problem
You said to type:
"%java_home%\bin\servletrunner",and
"%java_home%\lib\jsdk.jar", to you class path.
%java_home%, is the first "jdk" installation directory.
Is this for UNIX? If so what is the command for Windows?
Thanks
Ken
>From: Fang jing <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: /examples/HelloServlet Page not found error
>Date: Thu, 26 Apr 2001 16:40:14 +0900
>
>First, if you use jsdk or tomcat, the default URL is:
>http://localhost:8080/examples/servlet/HelloServlet
>
>Second, for "Download file pop-up box ...", it should be confirmed
>that the HelloServlet class has re-implement the doGet method of
>HttpServlet class. otherwise , you can choos
>"Open this file from its current location" on the
>Download file pop-up box, and use the IE as open application.
>
>
>----- Original Message -----
>From: "drew w" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, April 26, 2001 1:24 AM
>Subject: Re: /examples/HelloServlet Page not found error
>
>
> > I do have the proper CLASSPATH for the servlet.jar. I don't know what
>else
> > to do.
> >
> > thanks,
> > andrew
> >
> >
> >
> > >From: Santosh Ramakrishnan <[EMAIL PROTECTED]>
> > >Reply-To: A mailing list about Java Server Pages specification and
> > > reference <[EMAIL PROTECTED]>
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: /examples/HelloServlet Page not found error
> > >Date: Wed, 25 Apr 2001 09:16:11 +0530
> > >
> > >Hello,
> > >
> > > This is a very common problem, that any startup guy faces.
>All
> > >that you have to do, is first check, if the webserver classpath
> > >"servlet.jar" file, is set properly. Mostly what happens with people
>who
> > >are
> > >fairly new to servlets, is that they just unzip the whole webserver
> > >packing,
> > >and get to typing their servlets.
> > >Secondly, if you have another webserver running, like say Microsoft
>IIS,
>or
> > >MS Personal Web Server, then also, you will face a problem, as the two
>may
> > >at sometimes clash to feed pages to the browser.
> > >To get good documentation on the type of webserver that you are
>running,
> > >all
> > >that you have to do, is just type http://localhost:8080, on your
>browser.
> > >Obviously, you will have to start it up first.
> > >If you are a new comer to Servlets, then try using the "servletrunner",
> > >that
> > >comes with "jsdk". This is a real goo peiec of software, all that you
>need
> > >to do is all "%java_home%\bin\servletrunner", and
> > >"%java_home%\lib\jsdk.jar", to you class path.
> > >%java_home%, is the first "jdk" installation directory.
> > >
> > >Regards,
> > >Santosh
> > >
> > >----- Original Message -----
> > >From: "drew w" <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Sent: Wednesday, April 25, 2001 4:27 AM
> > >Subject: /examples/HelloServlet Page not found error
> > >
> > >
> > > > When I type localhost:8080/examples/HelloServlet I get:
> > > >
> > > > Page not found error
> > > >
> > > > When I type localhost:8080/examples/HelloServlet.class I get:
> > > >
> > > > Download file pop-up box ...
> > > >
> > > >
> > > > Does anyone know what might be the problem?
> > > >
> > > > Thanks,
> > > > Andrew
> > > > _________________________________________________________________
> > > > Get your FREE download of MSN Explorer at http://explorer.msn.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://java.sun.com/products/jsp/faq.html
> > > > http://www.esperanto.org.nz/jsp/jspfaq.html
> > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > > >
> > >
> >
> >===========================================================================
> > >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://java.sun.com/products/jsp/faq.html
> > > http://www.esperanto.org.nz/jsp/jspfaq.html
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.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://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>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://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>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://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets