just tried it, did'nt work. =\

>From: Kevin <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>         Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: 404 Error when accessing Servlet
>Date: Mon, 28 Jan 2002 00:08:41 +0700
>
>Hi
>
>I think URL pattern should be
>
><url-pattern>/cms/Test</url-pattern>
>
>- Kevin
>
>----- Original Message -----
>From: "mike dizon" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, January 27, 2002 12:51 PM
>Subject: [SERVLET-INTEREST] 404 Error when accessing Servlet
>
>
> > 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
> >
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.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
>




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.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