Index: ssts-web/src/main/webapp/logon.jsp =================================================================== diff -u -r12841 -r14060 --- ssts-web/src/main/webapp/logon.jsp (.../logon.jsp) (revision 12841) +++ ssts-web/src/main/webapp/logon.jsp (.../logon.jsp) (revision 14060) @@ -1,6 +1,7 @@ <%@ page contentType="text/html; charset=UTF-8"%> <%@ include file="/common/taglibs.jsp" %> <%@page import="com.forgon.disinfectsystem.common.*"%> +<%@page import="java.io.File" %> <% HttpSession oldSession = request.getSession(false); @@ -25,6 +26,15 @@ String project = CssdUtils.getConfigProperty("project"); session.setAttribute("profile", project); +String imgPath = "disinfectsystem/config/" + project + "/img/logo_" + project +".png"; +//System.out.println(application.getRealPath("/") + imgPath); +File file = new File(application.getRealPath("/") + imgPath); +if(file.exists()){ + request.setAttribute("logoPath",imgPath); +}else{ + request.setAttribute("logoPath","themes/portalPage/img/logo_Forgon.png"); +} + %> @@ -37,19 +47,29 @@ 孚峻消毒供应质量追溯管理系统 +
-