Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
177828ce
Commit
177828ce
authored
Feb 15, 2017
by
季圣华
Browse files
升级代码结构,采用Maven来管理jar包(完工2)
parent
b2d636d4
Changes
34
Hide whitespace changes
Inline
Side-by-side
config/struts2/depotItem-struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package
name=
"depotItem"
namespace=
"/depotItem"
extends=
"json-default"
>
<action
name=
"*"
class=
"depotItemAction"
method=
"{1}"
>
<result
type=
"json"
/>
</action>
<!--导出为excel表格 -->
<action
name=
"exportExcel"
class=
"depotItemAction"
method=
"exportExcel"
>
<result
name=
"excel"
type=
"stream"
>
<param
name=
"contentType"
>
application/vnd.ms-excel
</param>
<param
name=
"inputName"
>
excelStream
</param>
<param
name=
"contentDisposition"
>
attachment;filename="${fileName}"
</param>
<param
name=
"bufferSize"
>
1024
</param>
</result>
</action>
</package>
</struts>
\ No newline at end of file
config/struts2/functions-struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package
name=
"functions"
namespace=
"/functions"
extends=
"json-default"
>
<action
name=
"*"
class=
"functionsAction"
method=
"{1}"
>
<result
type=
"json"
/>
</action>
</package>
</struts>
\ No newline at end of file
config/struts2/inOutItem-struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package
name=
"inOutItem"
namespace=
"/inOutItem"
extends=
"json-default"
>
<action
name=
"*"
class=
"inOutItemAction"
method=
"{1}"
>
<result
type=
"json"
/>
</action>
</package>
</struts>
config/struts2/log-struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package
name=
"log"
namespace=
"/log"
extends=
"json-default"
>
<action
name=
"*"
class=
"logAction"
method=
"{1}"
>
<result
type=
"json"
/>
</action>
</package>
</struts>
\ No newline at end of file
config/struts2/material-struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package
name=
"material"
namespace=
"/material"
extends=
"json-default"
>
<action
name=
"*"
class=
"materialAction"
method=
"{1}"
>
<result
type=
"json"
/>
</action>
</package>
</struts>
\ No newline at end of file
config/struts2/materialCategory-struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package
name=
"materialCategory"
namespace=
"/materialCategory"
extends=
"json-default"
>
<action
name=
"*"
class=
"materialCategoryAction"
method=
"{1}"
>
<result
type=
"json"
/>
</action>
</package>
</struts>
\ No newline at end of file
config/struts2/person-struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package
name=
"person"
namespace=
"/person"
extends=
"json-default"
>
<action
name=
"*"
class=
"personAction"
method=
"{1}"
>
<result
type=
"json"
/>
</action>
</package>
</struts>
\ No newline at end of file
config/struts2/report-struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package
name=
"report"
namespace=
"/report"
extends=
"json-default"
>
<action
name=
"*"
class=
"reportAction"
method=
"{1}"
>
<result
type=
"json"
/>
</action>
</package>
</struts>
\ No newline at end of file
config/struts2/role-struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package
name=
"role"
namespace=
"/role"
extends=
"json-default"
>
<action
name=
"*"
class=
"roleAction"
method=
"{1}"
>
<result
type=
"json"
/>
</action>
</package>
</struts>
\ No newline at end of file
config/struts2/struts.properties
deleted
100644 → 0
View file @
b2d636d4
# struts.properties
#struts.custom.i18n.resources=messages
config/struts2/struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<constant
name=
"struts.i18n.encoding"
value=
"UTF-8"
/>
<constant
name=
"struts.action.extension"
value=
"action"
/>
<constant
name=
"struts.serve.static.browserCache"
value=
"false"
/>
<constant
name=
"struts.configuration.xml.reload"
value=
"true"
/>
<constant
name=
"struts.multipart.saveDir"
value=
"/temp"
/>
<constant
name=
"struts.multipart.maxSize"
value=
"3048576000"
/>
<constant
name=
"struts.i18n.reload"
value=
"true"
/>
<!-- 指定struts2应用处于开发阶段 -->
<constant
name=
"struts.devMode"
value=
"true"
/>
<constant
name=
"struts.ui.theme"
value=
"simple"
/>
<constant
name=
"struts.objectFactory"
value=
"spring"
/>
<!-- struts2框架按照如下顺序加载常量文件struts-default.xml、struts-plugin.xml、struts.xml、struts.properties、web.xml -->
<include
file=
"struts-default.xml"
></include>
<include
file=
"struts-plugin.xml"
></include>
<!-- 包含文件 -->
<include
file=
"struts2/*-struts.xml"
></include>
<!--
<constant name="struts.custom.i18n.resources" value="Performance" />
-->
<!--定义全局Result -->
<package
name=
"default"
namespace=
"/"
extends=
"struts-default"
>
<global-results>
<result
name=
"login"
>
/pages/common/admin.jsp
</result>
</global-results>
<action
name=
"*"
>
<result>
/pages/common/{1}.jsp
</result>
</action>
<action
name=
"login"
>
<result>
/pages/common/admin.jsp
</result>
</action>
</package>
</struts>
\ No newline at end of file
config/struts2/supplier-struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package
name=
"supplier"
namespace=
"/supplier"
extends=
"json-default"
>
<action
name=
"*"
class=
"supplierAction"
method=
"{1}"
>
<result
type=
"json"
/>
</action>
</package>
</struts>
\ No newline at end of file
config/struts2/user-struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package
name=
"user"
namespace=
"/user"
extends=
"json-default"
>
<action
name=
"*"
class=
"userAction"
method=
"{1}"
>
<result
type=
"json"
/>
</action>
<!-- 退出登录 -->
<action
name=
"logout"
class=
"userAction"
method=
"logout"
>
<result
name=
"success"
>
/logout.jsp
</result>
</action>
<!--<action name="login" class="userAction" method="login">
<result name="login" type="chain">
<param name="namespace">/</param>
<param name="actionName">login</param>
</result>
<result type="json"/>
</action>
-->
</package>
</struts>
\ No newline at end of file
config/struts2/userBusiness-struts.xml
deleted
100644 → 0
View file @
b2d636d4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package
name=
"userBusiness"
namespace=
"/userBusiness"
extends=
"json-default"
>
<action
name=
"*"
class=
"userBusinessAction"
method=
"{1}"
>
<result
type=
"json"
/>
</action>
</package>
</struts>
\ No newline at end of file
Prev
1
2
Next
Write
Preview
Supports
Markdown
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