In stead of manually exporting a war you should look into setting up a server runtime in Eclipse and using the built-in deployment features; once you have your project's deployment assembly properly setup it is automatic. A Google for "Eclipse tomcat runtime" will probably lead you to a proper example eventually.
I dont know to do automatic settings. Which site will guide me?... Can u help me out
Read the entire post, not just the first sentence. I repeat myself:
A Google for "Eclipse tomcat runtime" will probably lead you to a proper example eventually.
I have done all those settings but still read the 'Eclipse tomcat run time' and repeated the settings accordingly. Still not not getting output.
-I exported the file to destination webapps folder and clicked 'finish'
-when i select 'run on server'
-the tomcat gets started and 'http status 404' page is displayed in browser
I even tried this
- manaully started server
-exported as .war file to webapps but does not get exported, doesnt get deployed and nothing gets displayed in the console
-when provide the link the same page is displayed
One alert message is displayed in the markers 'Classpath entry C:/Program Files/Apache Software Foundation/Tomcat 6.0/lib/servlet-api.jar will not be exported or published. Runtime ClassNotFoundExceptions may result.'
I have added servlet-api.jar to the library but still getting this message so tried to adding in classpath (as provided in websites) that also didnt work.
Next what to do i dont understand.