修改IDE误报错误提示

This commit is contained in:
farsunset 2014-09-15 20:28:53 +08:00
parent 1fe5468977
commit c66352072b
2 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,10 @@
<%@ page language="java" pageEncoding="utf-8"%> <%@ page language="java" pageEncoding="utf-8"%>
<%
String lbasePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ request.getContextPath();
%>
<script type="text/javascript"> <script type="text/javascript">
function doLogin() function doLogin()
{ {
@ -18,7 +24,7 @@
登录 登录
</div> </div>
<div style="text-align: center;background: #5FA0D3;height: 150px;"> <div style="text-align: center;background: #5FA0D3;height: 150px;">
<img src="<%=basePath%>/resource/img/icon.png" style="margin-top: 35px;height: 80px;height: 80px;"/> <img src="<%=lbasePath%>/resource/img/icon.png" style="margin-top: 35px;height: 80px;height: 80px;"/>
</div> </div>
<div class="panel-body"> <div class="panel-body">

View File

@ -1,4 +1,10 @@
<%@ page language="java" pageEncoding="utf-8"%> <%@ page language="java" pageEncoding="utf-8"%>
<%
String lbasePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ request.getContextPath();
%>
<script type="text/javascript"> <script type="text/javascript">
function doLogin() function doLogin()
{ {
@ -18,7 +24,7 @@
登录 登录
</div> </div>
<div style="text-align: center;background: #5FA0D3;height: 150px;"> <div style="text-align: center;background: #5FA0D3;height: 150px;">
<img src="<%=basePath%>/resource/img/icon.png" style="margin-top: 35px;height: 80px;height: 80px;"/> <img src="<%=lbasePath%>/resource/img/icon.png" style="margin-top: 35px;height: 80px;height: 80px;"/>
</div> </div>
<div class="panel-body"> <div class="panel-body">