Replace servlets with servlet in you call

Your url should look like http://localhost:8000/servlet/hello , notice servlets
replaced with servlet

Santosh






"C.V.S.Brahammananda Rao" <[EMAIL PROTECTED]> on 09/20/2000 07:16:09 PM

Please respond to A mailing list about Java Server Pages specification and
      reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Santosh Daryani/IT/Aon Consulting)

Subject:  How to run servlets in JRun3.0



Hello friends,

can anyone help me how to run sevlets in JRun3.0.

I created a simple class file (hello.class)and put in the JRun/servlets
directory.
I tried to access by using http://localhost:8000/servlets/hello.

It says the following
404 Not Found
/servlets/Hello
allaire.jrun.JRunServletException: not found
        at allaire.jrun.file.FileServlet.service(FileServlet.java,
Compiled Code)
        at java.lang.Exception.(Unknown Source)
        at javax.servlet.ServletException.(ServletException.java, Compiled
Code)
        at allaire.jrun.JRunServletException.(JRunServletException.java,
Compiled Code)
        at allaire.jrun.JRunServletException.(JRunServletException.java,
Compiled Code)
        at allaire.jrun.file.FileServlet.service(FileServlet.java,
Compiled Code)
        at
allaire.jrun.servlet.JRunServletPool.service(JRunServletPool.java,
Compiled Code)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
        at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled
Code)
        at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java,
Compiled Code)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
        at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java,
Compiled Code)
        at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java, Compiled
Code)
        at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code)
        at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)


Where have i gone wrong.
Thanks in advance.
Bye
Brahmananda Rao

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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".
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

Reply via email to