2007/6/17, lightbulb432 <[EMAIL PROTECTED]>:
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
