// shall I write some keywords here to boost search engine ranking?

Friday, June 02, 2006

Error - tag.getAsString :attribute 'xxx' not found in context.

Besides the dynamic include of Struts Tiles, 1 thing you should aware is the way to use the getAsString tag.

Basicaaly the tricky part is not in ur JSP page that use the tag, but it is the your Tiles definition file (tiles-def.xml typically).

Here is a link which demostrate the wrong way (which is more intuitive) and the right way.

No comments: