Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Professional JSP 2nd edition chatpter 6 JSP errors


Message #1 by "Archana Annamaneni" <akpally@y...> on Sun, 9 Mar 2003 17:11:46
Hi , 
I have downloaded the code for chapter6 of Professional JSP 2nd edition 
and compiled all the classes and configured everything.When I access the 
page from the browser as
http://localhost:8080/ch06/index.html it is loading the index.html on the 
top frame but when it tries to load the bottom frame which access the 
welcome.jsp I am getting the following error

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: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file

at org.apache.jasper.compiler.DefaultErrorHandler.javacError
(DefaultErrorHandler.java:120)
at org.apache.jasper.compiler.ErrorDispatcher.javacError
(ErrorDispatcher.java:293)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
at org.apache.jasper.JspCompilationContext.compile
(JspCompilationContext.java:474)
at org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:184)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationDispatcher.invoke
(ApplicationDispatcher.java:684)
at org.apache.catalina.core.ApplicationDispatcher.doForward
(ApplicationDispatcher.java:432)
at org.apache.catalina.core.ApplicationDispatcher.forward
(ApplicationDispatcher.java:356)
at com.wrox.projsp.ch06.event.EventHandlerBase._dispatch
(EventHandlerBase.java:42)
at com.wrox.projsp.ch06.event.EventHandlerBase.forward
(EventHandlerBase.java:30)
at com.wrox.projsp.ch06.Controller.doPost(Controller.java:90)
at com.wrox.projsp.ch06.Controller.doGet(Controller.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

Any help will be grately appreciated , please help me. 


  Return to Index