tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: Templates and servlet-mappings
Date Mon, 18 Jun 2007 06:53:14 GMT
2007/6/17, lightbulb432 <veerukrishnan@hotmail.com>:
>
> Are Tiles templates and page fragments subject to servlet-mappings declared
> in web.xml? For example, if I rely on a template called template.jsp, or
> include a fragment called fragment.jsp, and I have a servlet-mapping of
> *.jsp to another servlet, do the requests for template.jsp and fragment.jsp
> go through the servlet mapped to the *.jsp servlet-mapping?
>
> If not, what's the mechanism by which they aren't subject to this mapping?
> With servlet filters can this be customized by the <dispatcher> tag? What
> about with servlet-mappings, though, which don't have a dispatcher tag?

Essentially every "template" (including real templates and final
pages) are included (response.include) or forwarded (response.forward)
to. So the answer is: yes, if there is a servlet mapping, it is used.

Antonio

Mime
View raw message