hi all... sorry for such a long delay...
here is my web.xml page.
also when i shifted the contents of my project folder i.e Beer into the Root folder of tomcat/webapps/root the application worked (though i directly asked for resourse i.e
http://localhost:8080/form.html,and after pressing the submit button i got an error
....
so my confusion is, if my web.xml file is incorrect then it should not execute the request even if it is stored in any part of webapps folder... but surprisingly it is executing!
secondly by observing the context.xml in the conf folder of apache
here i presume that the part <Watchedresourse >stands for the folder in which all resourse are placed but as mentioned it works for only one folder i.e root not for any other folder. is there any problem with the preconfigured tomcat that they would read the resourse only from within root folder... i.e root folder acts as the web apps folder???