tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roman danilin <roman_dani...@mail.ru>
Subject Tiles 2 without Struts
Date Wed, 20 Feb 2008 16:16:42 GMT

Hi all.

Step 1: Update your web.xml from WAR archive:

		<description>Tiles configuration file</description>




Step 2: Place tiles.xml in WEB-INF/classes directory in your WAR
application, tiles.xml may look as:

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"

	<definition name="test" template="index.jsp">

Step 3: Place your "index.jsp" in root of WAR archive.

Step 4: Copy Tiles libraries to WEB-INF/lib (tiles-*.jar and common-*.jar)

Step 5: Run your WAR archive in web container (like Tomcat) and navigate url

Step 6: Create your custom tiles definitions :)
View this message in context: http://www.nabble.com/Tiles-2-without-Struts-tp15591200p15591200.html
Sent from the tiles users mailing list archive at Nabble.com.

View raw message