M
Mark F
Tomcat 5
I would like to create my JSPs as all XML like so:
<?xml version="1.0" ?>
<jsp:root version="2.0"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<f:view>
<f:verbatim><![CDATA[<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">]]>
</f:verbatim>
<html xmlns="http://www.w3.org/1999/xhtml">
<jsp:include flush="false" page="../inc/head.jspf">
<jsp
aram name="title" value="Logout"/>
</jsp:include>
<body>
<f:loadBundle basename="general" var="msg"/>
<f:loadBundle basename="logout" var="logoutmsg"/>
<jsp:include flush="true" page="../inc/topnav.jspf"/>
<jsp:include flush="true" page="../inc/header.jspf"/>
<h:form>
<h
anelGrid>
<h
utputText value="#{logoutmsg.loggedout}"/>
<h
utputText value="#{logoutmsg.closebrowser}"/>
</h
anelGrid>
</h:form>
<jsp:include flush="true" page="../inc/footer.jspf"/>
</body>
</html>
</f:view>
</jsp:root>
Unfortunately the EL code in the included JSPs is not being evaluated.
It works fine if I use the <%@include%> directive but this is not XML
compatible.
Any help would be appreciated.
thanks,
-Mark
I would like to create my JSPs as all XML like so:
<?xml version="1.0" ?>
<jsp:root version="2.0"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<f:view>
<f:verbatim><![CDATA[<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">]]>
</f:verbatim>
<html xmlns="http://www.w3.org/1999/xhtml">
<jsp:include flush="false" page="../inc/head.jspf">
<jsp
</jsp:include>
<body>
<f:loadBundle basename="general" var="msg"/>
<f:loadBundle basename="logout" var="logoutmsg"/>
<jsp:include flush="true" page="../inc/topnav.jspf"/>
<jsp:include flush="true" page="../inc/header.jspf"/>
<h:form>
<h
<h
<h
</h
</h:form>
<jsp:include flush="true" page="../inc/footer.jspf"/>
</body>
</html>
</f:view>
</jsp:root>
Unfortunately the EL code in the included JSPs is not being evaluated.
It works fine if I use the <%@include%> directive but this is not XML
compatible.
Any help would be appreciated.
thanks,
-Mark