This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes Internal Servlet Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Internal Servlet Error" Watch "Internal Servlet Error" New topic

Internal Servlet Error


Joined: May 28, 2001
Posts: 5
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

Joined: Feb 20, 2001
Posts: 3695

what is the exact error trace?

We can't help unless we know what the servlet error is.
Peter Gragert
Ranch Hand

Joined: Jan 16, 2001
Posts: 424
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

Joined: May 29, 2001
Posts: 4
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:
at java.lang.ClassLoader.resolveClass0(Native Method)
at java.lang.ClassLoader.resolveClass(
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$ Code)
at Code)
I agree. Here's the link:
subject: Internal Servlet Error
It's not a secret anymore!