Even after adding a servlet-mapping after my servlet declarations the 
problem is persisting. 
With regards
X V Jay


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Am Thursday 06 November 2003 08:04 schrieb X V Jay:
> > Hi,
> > I am a newbie, I have been unable to run a servlet. These are the 
steps
> > I took...
> >
> > 1. I wrote a small test servlet.
> > 2. I created a 'test' directory under webapps.
> > 3. Created WEB-INF in 'test' and put the testweb.class in classes 
dir.
> > 4. Created a web.xml in WEB-INF
> >
> > <?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>abcd</servlet-name>
> > <servlet-class>testweb</servlet-class>
> > </servlet>
> > </web-app>
> 
> You also need to add a servlet-mapping after your servlet 
declarations:
> 
> <servlet-mapping>
>   <servlet-name>abcd</servlet-name>
>   <url-pattern>/servlet/abcd</url-pattern>
> </servlet-mapping>
> 
> Mit freundlichem Gruß / With kind regards
>       Holger Klawitter
> - --
> lists <at> klawitter <dot> de
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> 
> iD8DBQE/qf5M1Xdt0HKSwgYRApeXAJwLtTsABkr4xJdoVA/MSGl6NQSrxACeLiyx
> SJwz9YUQmb7G3fLzGJScS2E=
> =eoEK
> -----END PGP SIGNATURE-----
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to