Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets 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 July 3rd, 2003, 10:00 PM
Registered User
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default what's wrong with my web application or config

I arrange servletAPI following your guid in page 39,but after starting the web Server (tomcat 4.1.24),run it in the IE,the screen shows as follows:

HTTP Status 404 - /servletAPI/servlet/basicServlets.BasicServlet


type Status report

message /servletAPI/servlet/basicServlets.BasicServlet

description The requested resource (/servletAPI/servlet/basicServlets.BasicServlet) is not available.


Apache Tomcat/4.1.24

But I can run the servlet in the examples that lies in the webapps.What's wrong with my config or application?

Old July 5th, 2003, 02:48 PM
Authorized User
Join Date: Jun 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jwenting Send a message via MSN to jwenting

Where did you put your classfile?
And show the relevant sections of web.xml

Usually when you get a not found on a servlet either the servlet class isn't there or there is something wrong in the server configuration (like having it point to an incorrect classfile).
Old March 11th, 2004, 04:47 AM
Registered User
Join Date: Mar 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to michaelbeyond

You should do so strictly or maybe reboot your tomcat for your new web application.
good luck!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help with the Application.config file chobo2 C# 2008 aka C# 3.0 4 November 13th, 2008 07:47 AM
web.config vs. app.config darlo Visual Studio 2005 11 August 20th, 2008 07:23 AM
application config ms_kout ASP.NET 2.0 Professional 2 May 23rd, 2007 01:21 PM
Defining Application Root in web.config wdwright ASP.NET 2.0 Basics 0 August 22nd, 2006 04:27 AM
Machine.config and data application block beachboy1976 ASP.NET 1.0 and 1.1 Professional 0 August 9th, 2006 03:01 PM

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