I am new to servlets.
I am trying to call my servlet from a HTML form. I dont want to use full url in action tag that will point to my servlet. I want to use relative path.
I am using tomcat 6 web server. If I am giving relative path in Action tag of HTML form, it is searching in C:\myApp\Servlet.
Please help me how I can use relative path in Tomcat server. If these is any other setting needs to be done for my application folder for relative path.
Thanks in advance.
I am trying to call my servlet from a HTML form. I dont want to use full url in action tag that will point to my servlet. I want to use relative path.
I am using tomcat 6 web server. If I am giving relative path in Action tag of HTML form, it is searching in C:\myApp\Servlet.
Please help me how I can use relative path in Tomcat server. If these is any other setting needs to be done for my application folder for relative path.
Thanks in advance.