if you are using struts 2.0.x then you have to use tiles-*. 2.0.x jar files. 



Greg Reddin-4 wrote:
> 
> On Dec 26, 2007 4:45 PM, Mohamed Mohideen <[EMAIL PROTECTED]> wrote:
>> Hello there,
>>  I am trying the basic template example from Struts Tiles(1.3.8) website.
>> I started with struts-blank-1.3.8.war. Getting the following exception.
>>  Looks like it's failing in the following line...
>>
>> <tiles:insert beanName="templateDefinition" />
>>
>> Some one suggested to replace it beanName to definition. It didn't help.
>> Please shed your lights.
> 
> I think the suggestion might be correct regardless. The difference is
> that "beanName" is looking for a named bean in a defined scope (page,
> request, session, application), while "definition" is looking for a
> named definition defined in the tiles-defs.xml file and/or at runtime.
> So if you're referencing "beanName" then there needs to be a bean
> available in some scope by that name "templateDefinition". Since it's
> an example it may very well be correct, but it could very well be an
> error in the example.
> 
> The error sounds like you might have incompatible versions of Struts
> and Struts-Tiles. Is it possible that another Tiles version is in your
> classpath or something? I don't have the war file readily available to
> check.
> 
> HTH,
> Greg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts-Tiles-%281.3.8%29---NoSuchMethodError-Exception-tp14507333p14522429.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to