Hi all ,
I am getting the following error with struts tiles.
Error - Tag Insert : No value defined for bean 'base' with property 'null' in scope 'null'.
My code is as follows.
myLayout.jsp
What I've always done is create a definition that extends "base" (in your example) and put a value for the "body" attribute. I'm not sure how you're trying to use it, or what the TilesPage.jsp is for.
Sorry I can't be of more help; I'm just not familiar with the way you're trying to use Tiles.
I too never used tiles this way. I can tell you the way i've used it.
Using your myLayout.jsp define a base template in your tiles-defs.xml And then extend it to have a definition for you page. Write the body content you want, in the mypage.jsp - this doesnt'
now you can directly use myPage for rendering purposes.
Hope this helps!!
Srik.
If it's easy.. then everybody would do it!
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one: