Add and try the following (see inline):
At 05:07 PM 3/19/2003, you wrote:
<web-app>
<display-name>Windward Utilities</display-name>
<servlet>
<servlet-name>hello</servlet-name>
<servlet-class>HelloWorldExample</servlet-class>
</servlet>
<servlet-mapping> <servlet-name>hello</servlet-name> <url-pattern>/hello/*</url-pattern> </servlet-mapping>
</web-app>
My directory is: C:\Program Files\Apache Group\Tomcat 4.1\webapps\utils\WEB-INF\web.xml C:\Program Files\Apache Group\Tomcat 4.1\webapps\utils\WEB-INF\classes\HelloWorldExample.* C:\Program Files\Apache Group\Tomcat 4.1\webapps\utils\WEB-INF\classes\LocalStrings*.properties
When I put in the url http://localhost:8080/servlet/hello
Try: http://localhost:8080/utils/hello
... guessing you're following a tutorial from a book, most of which (unfortunately) seem to encourage the /servlet/hello usage. The above is better for an abundance of reasons.
Aside, to minimize the possibility of problems later on, create your servlets (and all other classes) inside a package of some sort and don't use paths with spaces in them (such as the default 'Program Files' and 'Apache Group').
justin
____________________________________ Justin Ruthenbeck Software Engineer, NextEngine Inc. [EMAIL PROTECTED] Confidential - See http://www.nextengine.com/confidentiality.php ____________________________________
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
