Springside Page Management

Source: Internet
Author: User

Springside Development Framework, we can give all page configuration a public footer and header footer and header web-inf the following views the following decorators.xml

<?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 show footer and header, only need to add a line of configuration in excludes<pattern>/login</pattern>, the login page in the URL address bar that ends with login is excluded, and the result is as follows:




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


Springside Page Management

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.