Hello,

I am trying to get tiles to work with definitions, and I am having a little
trouble.  How do I get either the home page or products page to show up in
my browser?

struts-config.xml:

<action path="/home">
        <forward name="success" path=".home" />
</action>
<action path="/products">
        <forward name="success" path=".products" />
</action>


tiles-def.xml:

<definition name=".home" path="/basicLayout.jsp">
        <put name="title" value="Home" />
</definition>

<definition name=".products" path="/basicLayout.jsp">
        <put name="title" value="Products" />
</definition>


basicLayout.jsp:

<html>
<body>
<tiles:getAsString name="title" />
</body>
</html>


TIA,
Jarrod Lugo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to