Steve Duran ha scritto:
"bar.jsp" contains only the string "testing" - no XML, JSP, HTML.

  The reason I did not put <tiles:insert definition="foo"> in the JSP is
because on this page:

http://struts.apache.org/1.3.5/struts-tiles/examples.html

  it recommends that the definitions be put in tiles-defs.xml, not in
the JSP, which is what I did in Struts 1.2.9

You are confusing <tiles:insert definition="xxx"/> with
<tiles:definition name="xxx" />. The first insert a configured
definition (or a definition defined with <tiles:definition>) in the
page, the second defines the definition itself. It's the latter that the
page you mentioned refers to.
If you define a definition inside tiles-defs.xml, you HAVE TO insert it
with <tiles:insert name="xxx" />, or forward to the definition itself.

Ciao
Antonio



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

Reply via email to