My application was using struts-layout and I wanted to upgrade to 1.2.8.

I thought the tiles tags would translate 1 to 1 but they don't seem to.
When I change <template:get name='header' ><%@ include
file="header.jsp"%></template:get>

to tiles it says it can not have content in a body.  I would like to default
the header to this if they don't supply a header.

 

 

Also in my jsp page I tried to convert 

 

<template:put name='header' ><%@ include file="header.jsp"%></template:put>

to 

<tiles:put name='header' type='page' value='header.jsp'>

 

<template:put name='footer' ><%@ include
file="blankFooter.jsp"%></template:put>

to 

<tiles:put name='footer' type='page' value='blankFooter.jsp"/>

 

I ended up with a blank page.

 

Can somebody help me out?

 

Shawn

 


**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

Reply via email to