pour faire une nouvelle page : creer jsp ds jsp / mettre balise include/html/head/body et le contenu dans body. Sitemesh decorera la page automatiquement suivant le layout main.jsp dans decorators pour tte les url (du moins pour l'instant)
4 lines
164 B
Plaintext
4 lines
164 B
Plaintext
<%@ include file="/WEB-INF/decorators/include.jsp" %>
|
|
|
|
<%-- Redirected because we can't set the welcome page to a virtual URL. --%>
|
|
<c:redirect url="/main.htm"/> |