Set user defined extensions in Tomcat

by satheeshkumar 2013-04-04 14:53:27

Set user defined extensions in Tomcat ,

Just do URL mapping in web.xml as explained below,.

<servlet>
<servlet-name>test.jsp</servlet-name>
<jsp-file>/test.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>test.jsp</servlet-name>
<url-pattern>/test.html</url-pattern>
</servlet-mapping>
823
like
0
dislike
0
mail
flag

You must LOGIN to add comments