In your example there is a space between <template and :put. Is this space
also in your real jsp file ? If yes, try to remove it.
Cedric
Bernard Genin wrote:
> I'm trying to use templates (not yet components, but soon) in WAS 3.5.3
> I got a "uncaught" servlet exception (apparently on PageContext.include)
> on a simple
> example like :
>
> <template:insert template="xyy.jsp">
> <template :put name="menu" content="menu.jsp">
> ...
>
> If I replace it by :
> <template:insert template="xyy.jsp">
> <template :put name="menu" direct="true"> <%@jsp:include file="menu.jsp"
>
> %></template:put>
> ...
>
> it works fine. But it sound like a bad workaround.
> I've tried to use the attribute "flush" in the <template:get> but it is
> no more supported
> (not included in the dtd) in struts.
> Any hint ?
>
> Bernard.