tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtallen <gtal...@home.com>
Subject Tomcat configuration question?
Date Fri, 21 Apr 2000 17:01:26 GMT
Hi,
Is there a way in Tomcat to setup a mapping that tells
Tomcat that any URL with this prefix "/somedirectory"
will be routed through the specified jsp?  Meaning
no matter what the user inputs if it has a /somedirectory
prefix it will be sent to "outer.jsp".

- <web-app>
- <servlet>
  <servlet-name>foo</servlet-name> 
  <jsp-file>outer.jsp</jsp-file> 
  </servlet>
- <servlet-mapping>
  <servlet-name>foo</servlet-name> 
  <url-pattern>/somedirectory/*</url-pattern> 
  </servlet-mapping>
  </web-app>

Thanks,
Greg

Mime
View raw message