This worked.  

  Thanks much.

  Steve

-----Original Message-----
From: Antonio Petrelli [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 16, 2006 12:58 AM
To: Steve Duran
Subject: Re: struts 1.3.5 tiles question


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
**************************************************************************************************
CONFIDENTALITY NOTICE: This e-mail communication and any attachments may 
contain confidential and 
privileged information protected from disclosure by law. It is intended only 
for the use of the specified 
recipients.  Any unauthorized review, use, disclosure, distribution or any 
action based on this material is 
prohibited.  If you are not the intended recipient, please contact the sender 
by reply e-mail and destroy all 
copies of the original message.
**************************************************************************************************


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

Reply via email to