2007/6/17, lightbulb432 <[EMAIL PROTECTED]>:

Can someone please explain what paths in Tiles are relative to? I have a JSP
in /context/WEB-INF/jsp/ that references a template in /context/, but I'm
unable to get to it by referring to tiles:insertTemplate
template="/templateName.jsp". This worked before when the containing JSP was
in /context rather than its current location.


What's the definitive word on whether paths are relative to the context
root, the containing page, the path used to request the resource, etc?

Paths are (or better should be) always context-relative. For example,
if you use:
<tiles:insertTemplate template="/templateName.jsp" />
it will refer to "/context/templateName.jsp".
If it does not work, that probably it's a bug.
Can we see how you refer to this JSP page?

Antonio

Reply via email to