C:\jakarta-tomcat-4.1.31\webapps\myApplication\
First make folder myApplication in webapps.
if you want to deploy new context in tomcat web server,you need to do some configuration in tomcat.
You have made changes in C:\jakarta-tomcat-4.1.31\conf\web.xml file. and uncommented the servlet invoker
1.
<servlet>
<servlet-name>invoker</servlet-name>
<servlet-class>
org.apache.catalina.servlets.InvokerServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
2.
Uncommented servlet mapping part also.
<!-- The mapping for the invoker servlet -->
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
And now restart tomcat web server again and open your application at browser.
http://localhost:8080/myApplication/myPage.jsp
More info
Tomcat Configuration and web serverHi,
I need to deploy my servlets and JSPS in C:\jakarta-tomcat-4.1.31\webapps\ROOT
how do i change this mapping and keep my servlets and JSPS in my own web application