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 | 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 March 5th, 2004, 03:05 PM
Registered User
Join Date: Feb 2004
Location: , , .
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?


Jesus Gutierrez

Reply With Quote
  #2 (permalink)  
Old March 6th, 2004, 06:47 AM
Authorized User
Join Date: Feb 2004
Location: Jilin, Jilin, China.
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cash

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 MartynOswin@Compuserve.com

Reply With Quote
  #3 (permalink)  
Old March 7th, 2004, 06:48 AM
Friend of Wrox
Join Date: Jun 2003
Location: , , .
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts

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.


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

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

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