| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
|  |  | |||
Home -> Community -> Usenet -> c.d.o.misc -> Can't get simple servlet to work
I created a servlet similar to IsItWorking as follow:
    package xmlagency;
    import ch06.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class XAGServlet extends HttpServlet {
        public static final String TITLE = "Yes, It's working!";
        public void service (HttpServletRequest request, HttpServletResponse
response)
            throws ServletException, IOException
    and the rest is unchanged.
Normally
http://localhost/servlet/IsItWorking/ works.
But:
http://localhost/servlet/XAGServlet/ Gives:
"The requested URL /servlet/XAGServlet was not found on this server."
jserv.log has:
[10/01/2003 20:06:25:724] (ERROR) ajp12: Servlet Error:
NoClassDefFoundError: XAGServlet
error.log has:
[Fri Jan 10 15:07:22 2003] [error] [client 127.0.0.1] File does not exist:
c:/orant9i/apache/apache/htdocs/jserv/status
Any help would be much appreciated.
Peter.
Received on Fri Jan 10 2003 - 14:18:22 CST
|  |  |