I have got the following servlet and -mapping in my DD:
<servlet>
<servlet-name>myservlet</servlet-name>
<servlet-class>com.example.web.MyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>myservlet</servlet-name>
<url-pattern>/path/to/myservlet</url-pattern>
</servlet-mapping>
/path/to/myservlet is a virtual/logical path. It's not part of the file structure of my web app.
When calling
http://localhost:8080/MyWebApp/path/to
I would like the server to respond with a welcome file instead of getting back a 404 error. How would you accomplish this? Please note, that /path/to/myservlet
is not a physical path of my Web-Application.