Hi, i have to update the struts version of an old application. I have seen that <template: tag deprecaeted is, and i have used tiles instead. everything works fine expcept a little Problem.
It's about these jsp's:
<html:html locale="true"> <tiles:insert template='/jsp/MainTemplate.jsp'> <tiles: put name='title' direct='true'> Welcome to MOC </tiles: put> <tiles: put name='header' content='/jsp/Header.jsp' /> <tiles: put name="headline" direct="true"> Welcome to MOC </tiles: put> <tiles: put name='content' content='/jsp/StartMocViewContent.jsp'/> </tiles:insert> </html:html>
The first page has to show "MOC" and then "Welcome to MOC" but I didn't manage to do that. The page shows only "MOC" so i guess there is a problem with <td height="21" class="hl3" valign="bottom"><tiles:get name="headline"/></td>. I have only renamed template's to tiles's. It's interesting ,that it was working with the older version, but not with new version, so with the tiles-tag. any help? do i have to change something else for template-> tiles. thanx in advance.
Joined: May 24, 2005
problem solved. i tried to delete my post. but i could'nt. sorry fot the mess