It seems to me that the config info at http://tiles.apache.org/tutorial/configuration.html is incomplete and in error. 1) There is no filter-mapping or servlet-mapping specified. 2) the tiles definition files are specified both for the servlet and the filter. There is no statement about using one or the other. The only other instruction is the alternative of using a context parameter.

How is the mapping to be specified. My guess is that if the filter and servlet are mapped to "*.tiles", for example, all forwards to "xxx.tiles" will be rendered by Tiles. Is that correct? Do both the filter and servlet need to be mapped. If either is not mapped, is it actually used? Must they be mapped to the same value?

Thanks,
- Ray Clough

Reply via email to