Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #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)

Reply With Quote
  #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

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?
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 09:03 PM.

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