Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning JavaServer Pages
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning JavaServer Pages
This is the forum to discuss the Wrox book Beginning JavaServer Pages by Vivek Chopra, Jon Eaves, Rupert Jones, Sing Li, John T. Bell; ISBN: 9780764574856
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning JavaServer Pages 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 19th, 2005, 12:45 PM
Registered User
 
Join Date: May 2005
Location: San Diego, CA, .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default chapter 18 webwork example not working

ok - I'm just trying to follow the example this time. I found and downloaded webwork 1.4 so I could follow the example, Im running Tomcat 5.5 - I added the webwork-skeleton through tomcat admin, and got to the index when it was added. When I clicked the Form Test link, I get...


HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

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

exception

javax.servlet.ServletException: Servlet execution threw an exception


root cause

java.lang.ThreadDeath
    org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1221)
    org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1181)
    java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
    webwork.dispatcher.ServletDispatcher.wrapRequest(S ervletDispatcher.java:268)
    webwork.dispatcher.ServletDispatcher.service(Servl etDispatcher.java:160)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.5.9

someone please help - I'm trying this because I can't get a custom java class working (say's its undefined even though it's packaged and "warred" properly)

Reply With Quote
  #2 (permalink)  
Old May 26th, 2005, 11:33 PM
Registered User
 
Join Date: May 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi resolutions,

I had the same problem as you do with chapter 18 examples in Tomcat.
I did open the application in netBeans, and it works great. You have to import the application to make it work, if you go to help, tutorials, project import guide, it will guide you how to do it, it's pretty easy.

Good luck!
Reply With Quote
  #3 (permalink)  
Old November 1st, 2005, 11:25 PM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Resolutions .
I've met this problem too . After I deploy webwork_skeleton application following steps in the book , i restart tomcat server . It run no problem .

Reply With Quote
Reply


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
Chapter 18 re: VSS kevinstruckhoff BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 0 August 8th, 2006 11:04 AM
CHAPTER 18 example not working also! diegoborgh BOOK: Beginning JavaServer Pages 0 May 26th, 2005 11:16 PM
Chapter 18 - Struts rollopa JSP Basics 0 September 14th, 2003 03:23 PM



All times are GMT -4. The time now is 04:05 PM.


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