about proper WEB.XML ????
hi ! i have properly installed tomcat but i'm not able to run my own servlets. that is probably because of web.xml file. i don't know how to create a proper web.xml file for a servlet. i'm using mac os x 10.2 please help me it's urgent __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: about proper WEB.XML ????
you don't actually NEED any of the entries on the web.xml file. but you do need the file so use this for now and see how you get on. Andoni. ?xml version=1.0 encoding=UTF-8? !-- Sun Public License Notice The contents of this file are subject to the Sun Public License Version 1.0 (the License). You may not use this file except in compliance with the License. A copy of the License is available at http://www.sun.com/ The Original Code is NetBeans. The Initial Developer of the Original Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved. -- !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app !-- Here's where the tags go. -- /web-app - Original Message - From: apratim sharma [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 06, 2003 8:12 AM Subject: about proper WEB.XML hi ! i have properly installed tomcat but i'm not able to run my own servlets. that is probably because of web.xml file. i don't know how to create a proper web.xml file for a servlet. i'm using mac os x 10.2 please help me it's urgent __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - 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: about proper WEB.XML ????
apratim sharma: i have properly installed tomcat but i'm not able to run my own servlets. that is probably because of web.xml file. i don't know how to create a proper web.xml file for a servlet. i'm using mac os x 10.2 please help me it's urgent Which Tomcat version are you using ? It may be, that you need to activate (by removing !-- -- in the server side web.xml) - web.xml- servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping - web.xml- So that you can access your servlet from http://server:port/application/servlet/your-handmade-servlet The invoker servlet is commented you in tomcat v. 4.1.8. Ciao Jens Skripczynski -- E-Mail: skripi(at)myrealbox(dot)com Technology is a constand battle between manufacturers producing bigger and more idiot-proof systems and nature producing bigger and better idiots. -- Slashdot signature - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]