Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
| Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 25th, 2003, 08:53 AM
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default problems with struts example on ch18

I am getting an error i can't figure out. My code is the same as the book exactly, and I'm getting this error:

org.apache.jasper.JasperException: Unable to compile class for JSPC:\jakarta-tomcat-3.2.3\work\localhost_8080%2Fbegjsp-ch18\_0002finputContent_0002ejspinputContent_jsp_0 .java:59: Undefined variable: currentSkill
                out.print( currentSkill );
                           ^
C:\jakarta-tomcat-3.2.3\work\localhost_8080%2Fbegjsp-ch18\_0002finputContent_0002ejspinputContent_jsp_0 .java:65: Undefined variable: currentSkill
                out.print( currentSkill );
                           ^
2 errors

    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:282)
    at org.apache.jasper.servlet.JspServlet.doLoadJSP(Jsp Servlet.java:612)
    at org.apache.jasper.servlet.JasperLoader12.loadJSP(J asperLoader12.java:146)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspSe rvlet.java:542)
    at org.apache.jasper.servlet.JspServlet$JspServletWra pper.loadIfNecessary(JspServlet.java:258)
    at org.apache.jasper.servlet.JspServlet$JspServletWra pper.service(JspServlet.java:268)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:429)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:500)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(Se rvletWrapper.java:405)
    at org.apache.tomcat.core.Handler.service(Handler.jav a:287)
    at org.apache.tomcat.core.ServletWrapper.service(Serv letWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalServ ice(ContextManager.java:812)
    at org.apache.tomcat.core.ContextManager.service(Cont extManager.java:758)
    at org.apache.tomcat.service.connector.Ajp12Connectio nHandler.processConnection(Ajp12ConnectionHandler. java:166)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(Po olTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable. run(ThreadPool.java:501)
    at java.lang.Thread.run(Thread.java:484)

  #2 (permalink)  
Old July 2nd, 2003, 12:01 AM
Registered User
 
Join Date: Jul 2003
Location: Detroit, MI, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have not gotten that far in the book yet. It's probably an error in the book and is on the errata list which for some reason is no longer available.

I wrote tech an email because I just purchased the book at Borders and I would assume that if the book is still being sold as new than WROX should support it.

Maybe someone here on the forum has the errata listing and would like to share?


Similar Threads
Thread Thread Starter Forum Replies Last Post
struts actions package: "struts", other packages? ojasrege Struts 1 July 21st, 2007 06:02 AM
Iam having problem running ch18 sample code wanes98 Wrox Book Feedback 1 June 7th, 2007 07:19 AM
porting ch18 sample code to new kernels ninuzzo BOOK Beginning Linux Programming, 3rd Edition 1 February 12th, 2007 12:50 PM
Web Services Error (Ch18) - No Web Disc. Info. ElPato BOOK: Beginning ASP.NET 1.0 2 April 13th, 2005 03:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.