Re: Re: Can't run servlets
Thank you guys, Its now working with servlet mapping. Regards X.V.Jay > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am Thursday 06 November 2003 09:48 schrieb Basavaraju P. Banakar: > > Servlet mapping is not madatory.. > > Well, not from the viewpoint of the DTD, but if you dont use the invoker [Jay > indicates by mentioning sepcifications], you'll need one (Otherwise > I'd really like to know why I have to use them with my Tomcat 4.1.24 > installation ;-) > > But if servlet mappings are still not enough, Jay has to check the errorlogs > of his server $TOMCAT_HOME/logs, there are a lot of possible other errors. > His servlet might have thrown an exception, some xml file might be malformed > (this would be my next guess). > > Mit freundlichem Gruß / With kind regards > Holger Klawitter > - -- > lists klawitter de > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE/qhCr1Xdt0HKSwgYRAgkQAJ4ko9IJsGBFZbI/YlIREOxqigZOqACfRq2s > yGRgQKyOGSNfEMPFx2n8op4= > =AXDS > -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]
Re: Re: Can't run servlets
did u try running the examples ?? - Original Message - From: "X V Jay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 1:52 PM Subject: Re: Re: Can't run servlets > 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 > > > > > > > > > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > > > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > > > > > > > > abcd > > > testweb > > > > > > > > > > You also need to add a servlet-mapping after your servlet > declarations: > > > > > > abcd > > /servlet/abcd > > > > > > Mit freundlichem Gruß / With kind regards > > Holger Klawitter > > - -- > > lists klawitter 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] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: Can't run servlets
Holger Klawitter, Servlet mapping is not madatory.. - Basu. - Original Message - From: "X V Jay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 1:52 PM Subject: Re: Re: Can't run servlets > 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 > > > > > > > > > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > > > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > > > > > > > > abcd > > > testweb > > > > > > > > > > You also need to add a servlet-mapping after your servlet > declarations: > > > > > > abcd > > /servlet/abcd > > > > > > Mit freundlichem Gruß / With kind regards > > Holger Klawitter > > - -- > > lists klawitter 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] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: Can't run servlets
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 > > > > > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > > > > > abcd > > testweb > > > > > > You also need to add a servlet-mapping after your servlet declarations: > > > abcd > /servlet/abcd > > > Mit freundlichem Gruß / With kind regards > Holger Klawitter > - -- > lists klawitter 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]