tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wolfgang Röckelein <wolfgang.roeckel...@wiwi.uni-regensburg.de>
Subject Re: triggering JSP page recompilation
Date Sun, 03 Feb 2002 20:48:28 GMT
Hi,

August Detlefsen wrote:
> BODY PAGE:
> 
> <%@ taglib uri="request.jar" prefix="req" %>
> 
> <req:setattribute name="content">
> 
> (HTML, JSP, etc - Whatever needs to go in the body of the page goes
> here...)
> 
> </req:setattribute>
> 
> <jsp:forward page="/template.jsp" />
> 
> TEMPLATE PAGE (template.jsp):
> 
> (HTML header)
> 
> (HTML sidebar)
> 
> <%= request.getAttribute("content") %>

It would be even nicer if <c:expr would accept request scoped
variables....

Greetings,
  Wolfgang
Mime
View raw message