Well, my servlet is in the directory: /admsite/servlet and is named servletAdmSite. What should be typed here: <url-pattern>???</url-pattern> And what is the URL to be adressed to, i.e: http://localhost:8080/???
Tks ----- Original Message ----- From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 10:18 AM Subject: RE: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available Howdy, With your mapping the URL to access your servlet is simply /admsite not /admsite/servlet/servlet.servletAdmSite. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: L.Karam [mailto:[EMAIL PROTECTED] >Sent: Wednesday, August 27, 2003 9:17 AM >To: [EMAIL PROTECTED] >Subject: The requested resource (/admsite/servlet/servlet.servletAdmSite) >is not available > >Hi, >When I try to access a servlet I get the following message: >"" >HTTP Status 404 - /admsite/servlet/servlet.servletAdmSite >----------------------------------------------------------------------- ---- >- >---- >type Status report >message /admsite/servlet/servlet.servletAdmSite >description The requested resource >(/admsite/servlet/servlet.servletAdmSite) >is not available. >----------------------------------------------------------------------- ---- >- >---- >Apache Tomcat/4.1.24 >"" > >I have verified in the tomcat manager that my application is correctly >started. > >I have also created the WEB.XML in the Web-Inf folder, and it looks as >this: >"" ><?xml version="1.0" encoding="ISO-8859-1"?> ><!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> ><web-app> > <servlet> > <servlet-name>servletAdmSite</servlet-name> > <servlet-class>servlet.servletAdmSite</servlet-class> > </servlet> > <servlet-mapping> > <servlet-name>servletAdmSite</servlet-name> > <url-pattern>/admsite</url-pattern> > </servlet-mapping> ></web-app> >"" > >My directory tree: >webapps/admsite/web-inf/classes/servlet > >Please, can anybody help me solve this? > >Thanks > >Leandro Karam > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
