"Test water CAS-4.0.3" No. 02 section _cas Server Login page personalization

Source: Internet
Author: User

/** * @see------------------------------------------------------------------------------------------------------- -----------------* @see CAS personality login Page * @see 0.cas page Display control is centered on the Cas.viewResolver.basename attribute in \web-inf\cas.properties, Its value defaults to Default_views * @see so CAS will go to classpath to find default_views.properties, specify the login log out page in Default_views.properties, etc. * @see 1. Modify the Cas.properties file, CAS.VIEWRESOLVER.BASENAME=MSXF, and then copy default_views.properties to Msxf.properties * @see 2. Modify the Msxf.properties file,/web-inf/view/jsp/default to/WEB-INF/VIEW/JSP/MSXF * @see where Casloginview.url represents the default login page, Caslogingenericsuccessview.url indicates the default login Success Page * @see 3. Copy/web-inf/view/jsp/default/and its subdirectories all files to/web-inf/view/jsp/msxf/* @ See then you can change the login page as you like. * @see Note Some of the Googleapis's jquery libraries are referenced in the \web-inf\view\jsp\msxf\ui\includes\bottom.jsp page * @see can be replaced by Baidu CD N (http://cdn.code.baidu.com/), such as Http://apps.bdimg.com/libs/jqueryui/1.10.2/jquery-ui.min.js * @see------------- -----------------------------------------------------------------------------------------------------------* @create 2015-7-16 PM 4:56:17 * @author Xuan Yu 

Here are the casloginview.jsp I modified

<%@ page pageencoding= "UTF-8"%><%@ taglib prefix= "C" uri= "Http://java.sun.com/jsp/jstl/core"%><%@ Taglib prefix= "form" uri= "Http://www.springframework.org/tags/form"%><c:set var= "CTX" value= "${ PageContext.request.contextPath} "scope=" Session "/><! DOCTYPE html>Here are the casgenericsuccess.jsp I modified
<%@ page pageencoding= "UTF-8"%><body style= "Background-color: #CBE0C9;" ><span style= "color:red; font-size:64px; Font-weight:bold; " > Login Success </span></body>

Below is





Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

"Test water CAS-4.0.3" No. 02 section _cas Server Login page personalization

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.