This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?