Home >Web Front-end >HTML Tutorial >SpringSide's page management_html/css_WEB-ITnose

SpringSide's page management_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 11:48:511160browse

With SpringSide’s development framework, we can configure a common footer and header for all pages. If you want a page to be displayed separately without footer and header, then you can do it under WEB-INF Configure it in the decorators.xml file under views, as follows:

<?xml version="1.0" encoding="UTF-8"?><decorators defaultdir="/WEB-INF/layouts/">	<excludes>		<pattern>/static/*</pattern>		<pattern>/api/*</pattern>		<pattern>/login</pattern>	</excludes>		<decorator name="default" page="default.jsp">		<pattern>/*</pattern>	</decorator></decorators>
Here I let the login page login.xml not display the footer and header, and only need to add a line of configuration in excludes< ;pattern>/login, then the login page ending with login in the URL address bar will be excluded. The final effect is as follows:




The original page effect is as follows, with public footer and header:


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn