I use two JSP to form a page. Is it necessary? Welcome.jsp: <tiles:insert definition="erp.mainLayout" flush="true" > <tiles:put name="body" value="/WelcomeBody.jsp" /> </tiles:insert>
WelcomeBody.jsp: <bean:message key="main.welcome"/> <html:link action="login"> <bean:message key="main.login"/> </html:link> Login.jsp: <tiles:insert definition="erp.mainLayout" flush="true" > <tiles:put name="body" value="/LoginBody.jsp" /> </tiles:insert> LoginBody.jsp: <h1><bean:message key="main.login"/></h1> <logic:messagesPresent> <bean:message key="errors.header"/> <ul> <html:messages id="error"> <li><bean:write name="error"/></li> </html:messages> </ul><hr> </logic:messagesPresent> <html:form action="/login" focus="username"> <table border="0" width="80%"> <tr> <td width="30%" align="right"> <bean:message key="loginForm.username"/> </td> <td width="70%"> <html:text property="username"/> </td> </tr> <tr> .... .... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]