tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stockhausen <prof.dr.moe...@googlemail.com>
Subject Tiles call via Browser (http://localhost:8080/MyProject/MyTilesDefinition) ?!
Date Tue, 14 Sep 2010 08:08:43 GMT
Hallo Folks,

my tiles definition (tiles-defs.xml) looks like this:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
    <definition name="default" template="/jsp/template.jsp">
        <put-attribute name="header" value="/jsp/header.jsp" />
        <put-attribute name="content" value="/jsp/content.jsp" />
    <definition name="show" extends="default">
        <put-attribute name="content" value="/jsp/show.jsp" />

I'm using this tag (<tiles:insertDefinition name="default" />) inside of
The call of the 'default' definition is working!

How can I call the 'default' definition via browser?
http://localhost:8080/JspAndTiles/default <-- this example doesn't work!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message