[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: hide the .jsp extension from pages
PeterJ
do-not-reply at jboss.com
Tue Oct 28 11:31:24 EDT 2008
Try adding this to your web.xml:
<servlet>
| <servlet-name>ContactJsp</servlet-name>
| <jsp-file>/contact.jsp</jsp-file>
| </servlet>
| <servlet-mapping>
| <servlet-name>ContactJsp</servlet-name>
| <url-pattern>/contact</url-pattern>
| </servlet-mapping>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185134#4185134
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185134
More information about the jboss-user
mailing list