I believe this web.xml (under conf) is used to specify the default properties for all web applications that are running within this server instance. Unless you want this servlet to be used by all webapps, you don't want to make modifications to this file. Instead create your own deployment descriptor and place it in WEB-INF directory of your web application.
Joined: Nov 29, 2001
Thank you for your reply. I have tried to create my own deployment descriptor and place it in WEB-INF directory of my web application but i found some errors. My program is doing : retrieve data from file in directory, update into database. Error if i create deployment descriptor in WEB-INF directory : 1) It will update more than 1 time into database for first startup tomcat. After first file is process, the following files will be running fine which is update once. 2) I have deleted some print testing code and added other code to my program but i realised that it print out the new test code and old test code as well. I tried deleted work directory and restart tomcat but i still the same. I don't know where it catch the code?