Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
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
 
Old March 5th, 2004, 03:05 PM
Registered User
 
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default servlet directory?

On chapter 13, trying to run the examples, I receive the next page error
"The requested resource (/begjsp-ch13/servlet/com.wrox.servlets.DisplayServlet) is not available."

I believe that I must specify the servlet directory on my web.xml but the book doesn't references nothing about it.

How can I specify the servlet directory?

TIA

Jesus Gutierrez




 
Old March 6th, 2004, 06:47 AM
Authorized User
 
Join Date: Feb 2004
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cash
Default

Hi jgtez
if you are using tomcat and windows system, you could do like this:

(your disk):\jakarta-tomcat-4.0.6\webapps\(your directory)
\WEB-INF\classes\(your servlets)

and you could press

http//localhost:8080/(your directory)/servlet/(your servlets)

to play them, if they also could not displayed, you could ask
Martyn. I think you can get help from him.

Here is his E-mail add [email protected]



 
Old March 7th, 2004, 06:48 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The 'Beginning' Wrox books are pretty good and tend to lead you by the nose but I don't have a copy of the book you are using. It could just be a deployment problem. Post your web.xml, a snippet of the JSP code and the actual paths of the various components and I'll have a look at it.

Cheers

Martyn





Similar Threads
Thread Thread Starter Forum Replies Last Post
servlet Problem discuss Servlets 3 February 6th, 2007 02:06 PM
servlet shiveka Servlets 1 October 9th, 2006 08:26 PM
Need help in servlet arunj82 Apache Tomcat 0 March 15th, 2006 07:16 AM
Servlet problem Ravi Kumar Servlets 1 June 20th, 2005 04:19 AM
Run Servlet, Set Directory, Help ? Gika JSP Basics 3 April 2nd, 2004 06:07 AM





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