Bonjour,
J'utilise les tiles pour la premiere fois, et j'ai un pb.
Voici mon tiles-def.xml :
mon struts-config dis ca :<definition name="errorlayout" path="/jsp/common/errorlayout.jsp">
<put name="body" value="" />
</definition>
<!-- PAGE USING LAYOUTS -->
<definition name="errorpage" extends="errorlayout">
<put name="body" value="/jsp/commmon/error.jsp" />
</definition>
Je suis en train de tester mon cas d'erreur, donc, struts redirige sur /error, qui appele mon tile errorpage.<action
path="/error"
type="org.apache.struts.actions.ForwardAction"
parameter="errorpage"/>
<action
input="/jsp/common/left_menu.jsp"
type="struts.actions.BackDoorAction"
scope="request"
path="/BackDoor"
name="BackDoorForm">
<forward
name="success"
path="/jsp/common/menu.jsp"/>
<forward
name="failure"
path="/error.do"/>
</action>
voila mon errorlayout :
J'ai une excpetion que je n'arrive pas à expliquer la :<%@include file="/jsp/common/header.jsp %>
<tiles:insert attribute="body"/>
<%@include file="/jsp/common/footer.jsp %>
what's the pb ???
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 org.apache.jasper.JasperException: /jsp/common/errorlayout.jsp(2,29) Symbole égal (equal) attendu org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
merci
Partager