>>>>> "DUPRAT" == DUPRAT Alexandre <[EMAIL PROTECTED]> writes:
DUPRAT> Hi,
DUPRAT> I'm trying using tiles for the first time in order to mix struts-menu and
DUPRAT> tiles (or template with is similar if i understand the good way).
DUPRAT> my first try is using the classicLayout.jsp for tiles tutorial and my index
DUPRAT> page lookin like :
DUPRAT> <%@ taglib uri="/WEB-INF/tiles.tld" prefix="tiles" %>
DUPRAT> <tiles:insert page="/layout/classicLayout.jsp" flush="true">
DUPRAT> <tiles:put name="title" value="My first page" />
DUPRAT> <tiles:put name="header" value="header.jsp" />
DUPRAT> <tiles:put name="footer" value="footer.jsp" />
DUPRAT> <tiles:put name="menu" value="menu.jsp" />
DUPRAT> <tiles:put name="body" value="helloBody.jsp" />
DUPRAT> </tiles:insert>
DUPRAT> i this exception i do not understand cause im not familiair with tiles :
DUPRAT> org.apache.jasper.compiler.CompileException:
DUPRAT> D:\Tomcat\jakarta-tomcat-3.2.3\webapps\tiles-tutor\index_tiles.jsp(3,1)
DUPRAT> Impossible de convertir une cha�ne (String) � java.lang.Object pour
DUPRAT> l'attribut value
I would guess you need to add 'direct="true"' to the first "tiles:put" element.
I would suggest you read the documentation.
--
===================================================================
David M. Karr ; Best Consulting
[EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>