put the class file and web xml file into below folder str.
class file copid: D:\sanjay\software\apache-tomcat-7.0.82-windows-x64\apache-tomcat-7.0.82\webapps\ch1\web-inf\classes\com\example
Web xml copied: D:\sanjay\software\apache-tomcat-7.0.82-windows-x64\apache-tomcat-7.0.82\webapps\ch1\web-inf
The Url is made up of three parts
#1 - The Tomcat Server - http://localhost:8080 #2 - Your web application context - defaults to the folder you created under webapps - ch1
#3 - The resource within your web application you want to call - the url-pattern you have used in the web.xml: Serv1