I am now having trouble with accessing servlets. I made a new application,
it resides in a folder located inside the webapps folder. It is called cms.
I made a new context for it in server.xml. I can access files in it just
fine, even jsp files. But not servlets. In other words when I try to access
http://localhost:8080/cms/Test i get a 404.  But any other file in there
aside from a servlet I can get just fine.

The following is what I have set up in my web.xml file:


<web-app>
<servlet>
<servlet-name>Test</servlet-name>
<servlet-class>Test</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Test</servlet-name>
<url-pattern>/Test</url-pattern>
</servlet-mapping>
</web-app>



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to