Hi,
i have created a HTML form in which the user can select from a list of dropdown menus. on clicking on the submit button, a
servlet performs the necessary calculations and displays the results (a map) to the user.
i use Eclipse
IDE (with sysdeo
tomcat plugin) to create my servlets.
in Tomcat home ie tomcat>servlets-examples, i create a new folder (Display) and store my HTML program and other necessary files.
then in eclipse, i create a package and store my servlets files in it. i then include my servlets in the web.xml file available in tomcat/webapps/servlets-examples/WEB-INF
the problem i am facing is that:
when i make changes to my servlet code via Eclipse and run the Tomcat, these changes are not being updated. ie in my browser i use the URL
http://localhost:8085/servlets-examples/Display (Display is the folder in which all my programs are present)
by typing the above URL, i get a list of all my files ie my HTML file, my servlet files etc. now i click on the servlet file here, the changes that i had made via Eclipse are not being updated here.
as a result of this, my HTML program fails to work.
i want to know how this problem can be solved???
thanks in advance....