tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Bessette" <>
Subject Specify one file for all directory mappings
Date Mon, 20 Oct 2003 01:11:29 GMT
Is there a way to specify one file, like the one below, for all directory

file (index.jsp):
<%@ taglib uri="struts-tiles" prefix="tile" %>

<tile:insert definition="project.layout.main" flush="true">
        <tile:put name="sidebar" value="${
pageContent.request.requestURI }/sidebar.jsp" />
        <tile:put name="content" value="${
pageContent.request.requestURI }/content.jsp" />

The file would be used for all uri's that end with directories, like
http://host/project/dir1/ and http://host/project/dir1/dir2/.

I tried using the welcome-file-list in my web.xml to do this, but it looks
like those files are only relative.


Is there anyway to configure Tomcat, Struts, or Tiles to do this?

Please reply to, as I'm not subscribed to this list.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message