Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning JavaServer Pages
| 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 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
 
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)

 
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!
 
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 .





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





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