Hi there, I was trying to run another example, which a friend gave me. The actual error message is: org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat\testbean.sessionBean Linkurl = null; I don't know if that helps. Thanks again [This message has been edited by Mustapha Abella (edited May 28, 2001).]
We can't help unless we know what the servlet error is.
Joined: Jan 16, 2001
Are you trying the examples of Tomcat itself? And they do not work? You got 'Tomcat' visible (a nice picture of Tomcat?) looking at http://localhost:8080/ This is necessary. If not, you should be more explicit of how login.jsp looks like (only the essentials) and where you placed it in your directory structure.
Joined: May 29, 2001
it seems that I have a similar problem: when i try to load my servlet I have the following message (the examples work fine!. As I had problem loading servlet from another directory the the example one I decided to try my servlet in their example directory thanks for answering Error: 500 Location: /examples/servlet/coucou Internal Servlet Error: java.lang.NullPointerException at java.lang.ClassLoader.resolveClass0(Native Method) at java.lang.ClassLoader.resolveClass(ClassLoader.java:429) at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(Compiled Code) at org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Compiled Code) at org.apache.tomcat.core.ServletWrapper.loadServlet(Compiled Code) at org.apache.tomcat.core.ServletWrapper.init(Compiled Code) at org.apache.tomcat.core.Handler.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Compiled Code)