File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Internal Servlet Error

 
Belloumi
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the exact error trace?

We can't help unless we know what the servlet error is.
 
Peter Gragert
Ranch Hand
Posts: 424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
lydie soler
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic