~~ $Id$ ~~ ~~ Licensed to the Apache Software Foundation (ASF) under one ~~ or more contributor license agreements. See the NOTICE file ~~ distributed with this work for additional information ~~ regarding copyright ownership. The ASF licenses this file ~~ to you under the Apache License, Version 2.0 (the ~~ "License"); you may not use this file except in compliance ~~ with the License. You may obtain a copy of the License at ~~ ~~ http://www.apache.org/licenses/LICENSE-2.0 ~~ ~~ Unless required by applicable law or agreed to in writing, ~~ software distributed under the License is distributed on an ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~~ KIND, either express or implied. See the License for the ~~ specific language governing permissions and limitations ~~ under the License. ~~ ----------- Rendering Utilities ----------- Tiles Rendering Utilities The core package of Tiles contains utilities to render Tiles definitions without the need of a JSP page or a supporting framework. * <<>> The <<>> is a servlet that intercepts the URLs ending with "<<<.tiles>>>" and render the definition whose name is the path name before the "<<<.tiles>>>" part. For example, if you call the <<>> path, the rendered definition will be <<>>. You can configure the <<>> this way: ------------------------------------ Tiles Dispatch Servlet org.apache.tiles.web.util.TilesDispatchServlet ... Tiles Dispatch Servlet *.tiles ------------------------------------ By using the <<>> you can use a different container. The value of this parameter will be used as the key under which the container is stored. * <<>> You can use the <<>> to use Tiles as a framework. All the requests intercepted by the filter will be put inside the configured attribute of the configured definition, and then that definition is rendered. You can configure the filter this way: ------------------------------------ Tiles Decoration Filter org.apache.tiles.web.TilesDecorationFilter definition test.definition attribute-name body ------------------------------------ By using the <<>> you can use a different container. The value of this parameter will be used as the key under which the container is stored.