<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@include file="/taglibs.jsp"%> <% //TODO:此处通过session获得用户名与密码 /* Assertion assertion = (Assertion)session.getAttribute("_const_cas_assertion_"); String userName = ""; if(null != assertion) { userName = assertion.getPrincipal().getName(); } */ %> <style type="text/css"> .back-img { position: absolute; text-align: center; width: 93%; top: 5px; } .head-img { background-image:url(${ctx}/images/banner_C_img.png); background-repeat: repeat-x; width:100%; position:absolute; } .left-img { float:left } .right-img { float:right; } </style> <div class="head-img"> <span class="left-img"><img src="${ctx}/images/banner_L2.png" style=" height:48px"/></span> <span class="right-img"><img src="${ctx}/images/banner_R2.png" style="height:48px"/></span> <%--<span><img src="${ctx}/images/title2.png" style="height:48px"/></span>--%> </div> <div class="back-img"> <img style="height:37px" src="${ctx}/images/title1.png"/> </div> <div style="position: absolute; right: 15px; bottom:15px;"> <span style="margin-right:25px; "><label style="font-weight: bold;">用户名:${_user_info.username}</label></span> <span style="cursor:pointer"><a href="cas-logout.jsp">注销</a></span> </div>