error! how use <c:import url="page2.jsp"/>
I use <f:verbatim> split 3 parts:header, menu, content in java studio creator,
I think click left's menu item, right's content auto display special menu item's page.
i do not know how to implement ?
thanks
code:
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:c="http://java.sun.com/jstl/core" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ui:page binding="#{Page1.page1}" frame="true" id="page1">
<ui:html binding="#{Page1.html1}" id="html1">
<ui:head binding="#{Page1.head1}" id="head1">
<ui:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
</ui:head>
<ui:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
<ui:form binding="#{Page1.form1}" id="form1">
<ui:button action="#{Page1.button1_action}" binding="#{Page1.button1}" id="button1" style="position: absolute; left: 24px; top: 96px" text="按钮"/>
<h:panelGrid binding="#{Page1.gridPanel1}" columns="2" id="gridPanel1" style="height: 96px; left: 216px; top: 96px; position: absolute; width: 96px">
<f:verbatim>
<c:import url="page2.jsp"/>
</f:verbatim>
</h:panelGrid>
<ui:label binding="#{Page1.label1}" id="label1" style="position: absolute; left: 96px; top: 24px" text="#{SessionBean1.pagename}"/>
</ui:form>
</ui:body>
</ui:html>
</ui:page>
</f:view>
</jsp:root>

