File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes HTTP error 500 in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "HTTP error 500 in tomcat " Watch "HTTP error 500 in tomcat " New topic
Author

HTTP error 500 in tomcat

soven rout
Greenhorn

Joined: Feb 19, 2012
Posts: 19
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: /entranceresults.jsp(4,1) Unable to load tag handler class "com.nareshit.customtag.ResultsHandler" for tag "nareshit:results"
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1198)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1422)
org.apache.jasper.compiler.Parser.parse(Parser.java:130)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:185)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.35 logs.
Apache Tomcat/6.0.35
Bharat Kasodariya
Ranch Hand

Joined: Aug 19, 2011
Posts: 36
Can you check on on line no 4 in entranceresults.jsp file. And also check log file of your tomcat.
soven rout
Greenhorn

Joined: Feb 19, 2012
Posts: 19
thanks a lot for the reply .
I found that the problem lies in the .tld file.and now it is executed correctly
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP error 500 in tomcat