jsp版本

This commit is contained in:
2018-06-19 15:52:20 +08:00
parent 2a78cfca33
commit e3518aa05a
132 changed files with 1259 additions and 1 deletions

3
代码/jsp/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.idea/workspace.xml
out/
dataSources/

1
代码/jsp/.idea/.name generated Normal file
View File

@@ -0,0 +1 @@
2018版电销管理系统

View File

@@ -0,0 +1,13 @@
<component name="ArtifactManager">
<artifact type="exploded-war" name="2018版电销管理系统:war exploded">
<output-path>$PROJECT_DIR$/out/artifacts/2018_war_exploded</output-path>
<root id="root">
<element id="javaee-facet-resources" facet="2018版电销转介绍管理系统/web/Web" />
<element id="directory" name="WEB-INF">
<element id="directory" name="classes">
<element id="module-output" name="2018版电销转介绍管理系统" />
</element>
</element>
</root>
</artifact>
</component>

29
代码/jsp/.idea/dataSources.local.xml generated Normal file
View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="dataSourceStorageLocal">
<data-source name="@10.39.0.86" uuid="18e54f09-a43b-4c32-8386-8d030a8f8277">
<database-info product="Oracle" version="Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production&#10;With the Partitioning, OLAP, Data Mining and Real Application Testing options" jdbc-version="4.0" driver-name="Oracle JDBC driver" driver-version="12.1.0.2.0">
<extra-name-characters>$#</extra-name-characters>
<identifier-quote-string>&quot;</identifier-quote-string>
</database-info>
<case-sensitivity plain-identifiers="upper" quoted-identifiers="exact" />
<secret-storage>master_key</secret-storage>
<user-name>idst0</user-name>
<introspection-schemas>*:IDST0</introspection-schemas>
<resolve-scope>*:IDST0,PUBLIC</resolve-scope>
<unqualified-resolve-schemas>*:IDST0,PUBLIC</unqualified-resolve-schemas>
</data-source>
<data-source name="jdbc:oracle:thin:@" uuid="755f1bc0-dca9-4b58-9b4e-412602f82e74">
<database-info product="Oracle" version="Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production&#10;With the Partitioning, OLAP, Data Mining and Real Application Testing options" jdbc-version="4.0" driver-name="Oracle JDBC driver" driver-version="12.1.0.2.0">
<extra-name-characters>$#</extra-name-characters>
<identifier-quote-string>&quot;</identifier-quote-string>
</database-info>
<case-sensitivity plain-identifiers="upper" quoted-identifiers="exact" />
<secret-storage>master_key</secret-storage>
<user-name>telsale</user-name>
<introspection-schemas>*:TELSALE</introspection-schemas>
<resolve-scope>*:PUBLIC,TELSALE</resolve-scope>
<unqualified-resolve-schemas>*:PUBLIC,TELSALE</unqualified-resolve-schemas>
</data-source>
</component>
</project>

20
代码/jsp/.idea/dataSources.xml generated Normal file
View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="@10.39.0.86" uuid="18e54f09-a43b-4c32-8386-8d030a8f8277">
<driver-ref>oracle</driver-ref>
<synchronize>true</synchronize>
<auto-commit>false</auto-commit>
<jdbc-driver>oracle.jdbc.OracleDriver</jdbc-driver>
<jdbc-url>jdbc:oracle:thin:@10.39.0.86:1521:xmcx1</jdbc-url>
</data-source>
<data-source source="LOCAL" name="jdbc:oracle:thin:@" uuid="755f1bc0-dca9-4b58-9b4e-412602f82e74">
<driver-ref>oracle</driver-ref>
<synchronize>true</synchronize>
<configured-by-url>true</configured-by-url>
<auto-commit>false</auto-commit>
<jdbc-driver>oracle.jdbc.OracleDriver</jdbc-driver>
<jdbc-url>jdbc:oracle:thin:@</jdbc-url>
</data-source>
</component>
</project>

View File

@@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="Duplicates" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
</profile>
</component>

7
代码/jsp/.idea/kotlinc.xml generated Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KotlinCommonCompilerArguments">
<option name="languageVersion" value="1.1" />
<option name="apiVersion" value="1.1" />
</component>
</project>

View File

@@ -0,0 +1,50 @@
<component name="libraryTable">
<library name="annotations-api">
<CLASSES>
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/annotations-api.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/catalina-ant.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/catalina-ha.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/catalina-storeconfig.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/catalina-tribes.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/catalina.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/commons-codec-1.10.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/commons-collections4-4.1.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/commons-compress-1.12.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/commons-fileupload-1.3.2.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/commons-io-2.5.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/commons-logging-1.2.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/curvesapi-1.04.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/ecj-4.5.1.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/el-api.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/jasper-el.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/jasper.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/jaspic-api.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/jsp-api.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/junit-4.12.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/log4j-1.2.17.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/ojdbc5.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/poi-3.15.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/poi-examples-3.15.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/poi-excelant-3.15.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/poi-ooxml-3.15.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/poi-ooxml-schemas-3.15.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/poi-scratchpad-3.15.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/servlet-api.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/tomcat-api.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/tomcat-coyote.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/tomcat-dbcp.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/tomcat-jdbc.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/tomcat-jni.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/tomcat-util-scan.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/tomcat-util.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/tomcat-websocket.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/websocket-api.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/xmlbeans-2.6.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/commons-compress-1.12-javadoc.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/commons-io-2.5-javadoc.jar!/" />
</JAVADOC>
<SOURCES />
</library>
</component>

View File

@@ -0,0 +1,28 @@
<component name="libraryTable">
<library name="commons-codec-1.10">
<CLASSES>
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-codec-1.10.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-collections4-4.1.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-compress-1.12.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-fileupload-1.3.2.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-io-2.5.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-logging-1.2.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/ifxjdbc.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/junit-4.12.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/log4j-1.2.17.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/ojdbc5.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/ojdbc6.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/poi-3.15.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/poi-excelant-3.15.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/poi-ooxml-3.15.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/poi-ooxml-schemas-3.15.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/poi-scratchpad-3.15.jar!/" />
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/servlet-api.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-compress-1.12-javadoc.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-io-2.5-javadoc.jar!/" />
</JAVADOC>
<SOURCES />
</library>
</component>

9
代码/jsp/.idea/libraries/jsp_api.xml generated Normal file
View File

@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="jsp-api">
<CLASSES>
<root url="jar://D:/开发工具/apache-tomcat-9.0.0.M11/lib/jsp-api.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

26
代码/jsp/.idea/libraries/lib.xml generated Normal file
View File

@@ -0,0 +1,26 @@
<component name="libraryTable">
<library name="lib">
<CLASSES>
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-codec-1.10.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-collections4-4.1.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-compress-1.12.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-fileupload-1.3.2.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-io-2.5.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-logging-1.2.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/junit-4.12.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/log4j-1.2.17.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/ojdbc5.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/ojdbc6.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/poi-3.15.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/poi-excelant-3.15.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/poi-ooxml-3.15.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/poi-ooxml-schemas-3.15.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/poi-scratchpad-3.15.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-compress-1.12-javadoc.jar!/" />
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/commons-io-2.5-javadoc.jar!/" />
</JAVADOC>
<SOURCES />
</library>
</component>

20
代码/jsp/.idea/libraries/poi_3_17.xml generated Normal file
View File

@@ -0,0 +1,20 @@
<component name="libraryTable">
<library name="poi-3.17">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../../sdk/java/poi/poi-3.17/poi-3.17.jar!/" />
<root url="jar://$PROJECT_DIR$/../../../../../sdk/java/poi/poi-3.17/poi-ooxml-schemas-3.17.jar!/" />
<root url="jar://$PROJECT_DIR$/../../../../../sdk/java/poi/poi-3.17/poi-excelant-3.17.jar!/" />
<root url="jar://$PROJECT_DIR$/../../../../../sdk/java/poi/poi-3.17/poi-ooxml-3.17.jar!/" />
<root url="jar://$PROJECT_DIR$/../../../../../sdk/java/poi/poi-3.17/poi-scratchpad-3.17.jar!/" />
<root url="jar://$PROJECT_DIR$/../../../../../sdk/java/poi/poi-3.17/lib/commons-codec-1.10.jar!/" />
<root url="jar://$PROJECT_DIR$/../../../../../sdk/java/poi/poi-3.17/lib/commons-collections4-4.1.jar!/" />
<root url="jar://$PROJECT_DIR$/../../../../../sdk/java/poi/poi-3.17/lib/commons-logging-1.2.jar!/" />
<root url="jar://$PROJECT_DIR$/../../../../../sdk/java/poi/poi-3.17/lib/junit-4.12.jar!/" />
<root url="jar://$PROJECT_DIR$/../../../../../sdk/java/poi/poi-3.17/lib/log4j-1.2.17.jar!/" />
<root url="jar://$PROJECT_DIR$/../../../../../sdk/java/poi/poi-3.17/ooxml-lib/curvesapi-1.04.jar!/" />
<root url="jar://$PROJECT_DIR$/../../../../../sdk/java/poi/poi-3.17/ooxml-lib/xmlbeans-2.6.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

6
代码/jsp/.idea/misc.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" default="false" project-jdk-name="10" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

8
代码/jsp/.idea/modules.xml generated Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/2018版电销转介绍管理系统.iml" filepath="$PROJECT_DIR$/2018版电销转介绍管理系统.iml" />
</modules>
</component>
</project>

124
代码/jsp/.idea/uiDesigner.xml generated Normal file
View File

@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</component>
</project>

6
代码/jsp/.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="web" name="Web">
<configuration>
<descriptors>
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/web/WEB-INF/web.xml" />
</descriptors>
<webroots>
<root url="file://$MODULE_DIR$/web" relative="/" />
</webroots>
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="PROVIDED" name="Tomcat 9.0.0.M11" level="application_server_libraries" />
<orderEntry type="library" name="lib" level="project" />
<orderEntry type="library" name="annotations-api" level="project" />
<orderEntry type="library" name="jsp-api" level="project" />
<orderEntry type="library" name="poi-3.17" level="project" />
</component>
</module>

View File

@@ -0,0 +1,296 @@
package com.cpic.telsale.DataImport;
/**
* Created by Kane on 2017/3/28.
*/
import java.io.*;
import java.sql.*;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import org.apache.poi.hssf.*;
import org.apache.poi.hssf.usermodel.*;
import org.apache.poi.ss.usermodel.CellType;
import com.cpic.util.staff.*;
public class DataImport
{
private DataImport()
{
}
/**
* 读取xls表格插入数据要么全部成功要么全部失败。
* @param fileName xls文件名
* @param oracleURL oracle数据库URL
* @param oracleUserName oracle用户名
* @param oraclePassword oracle密码
* @param informixURL informix数据库URL
* @return
* @throws IOException
* @throws ClassNotFoundException
* @throws SQLException 数据库异常
* @throws XlsFileFormatException xls文件格式错误异常
*/
public static String importTelsalePolicyDataFromXlsx( String fileName,
String oracleURL,
String oracleUserName,
String oraclePassword,
String informixURL ) throws
IOException,
ClassNotFoundException,
SQLException,
XlsFileFormatException
{
String importResult = "";
String importMessage = null;
int rowCount = 1;
int successCount = 0;
int failCount = 0;
//excel相关
FileInputStream xlsFileIn = null;
HSSFWorkbook xlsFile = null;
HSSFSheet sheet = null;
HSSFRow row = null;
try
{
xlsFileIn = new FileInputStream( fileName );
xlsFile = new HSSFWorkbook( xlsFileIn );
sheet = xlsFile.getSheet( "Sheet1" );
row = sheet.getRow( rowCount );
}
catch( IOException error ) //有文件格式错误的可能。
{
xlsFile.close();
xlsFileIn.close();
throw new XlsFileFormatException( "文件格式错误请检查是否xls格式文件。" );
}
//oracle相关
Class.forName( "oracle.jdbc.driver.OracleDriver" );
Connection oracleConn = null;
PreparedStatement oracleStmt = null;
String oraSql =
"INSERT INTO telsale_oper_lst\n" +
" (policy_no,\n" +
" operator_code,\n" +
" operator_name,\n" +
" section_office_code,\n" +
" section_office_name,\n" +
" department_code,\n" +
" department_name,\n" +
" autotrader_code,\n" +
" insruant_name,\n" +
" plate_no,\n" +
" entry_staff_code,\n" +
" entry_date)\n" +
"VALUES\n" +
" (?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" '800',\n" +
" SYSDATE)";
oracleConn = DriverManager.getConnection( oracleURL, oracleUserName, oraclePassword );
oracleConn.setAutoCommit( false );//关闭自动提交,整个表格要么全部成写入,要么全部失败。
oracleStmt = oracleConn.prepareStatement( oraSql );
//informix相关
Class.forName( "com.informix.jdbc.IfxDriver" );
String ifxSql =
"INSERT INTO w_dxbd_i\n" +
" (bdh,\n" +
" zhjywy,\n" +
" zhjywymc,\n" +
" kshdm,\n" +
" kshmc,\n" +
" zhjywybm,\n" +
" zhjywybmm,\n" +
" chshdm,\n" +
" khmc,\n" +
" chph,\n" +
" khjl,\n" +
" khjllx,\n" +
" jjbj,\n" +
" czydm,\n" +
" czrq)\n" +
"VALUES\n" +
" (?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" ?,\n" +
" 0,\n" +
" 0,\n" +
" 1,\n" +
" '800',\n" +
" today)";
Connection ifxConn = DriverManager.getConnection( informixURL );
PreparedStatement ifxStmt = ifxConn.prepareStatement( ifxSql );
ifxConn.setAutoCommit( false );//关闭自动提交,整个表格要么全部成写入,要么全部失败。
//数据相关
String policyNo = null;
String operatorCode = null;
StaffInfo staff = null;
boolean isSuccess = true; //标志位,用来指示在保存过程中是否出现错误。
while ( row != null )
{
policyNo = row.getCell( 1 ).getStringCellValue().trim();
operatorCode = getStringValueFromHSSFCell( row.getCell( 4 ) );
//判断一下是不是空的单元格
if ( policyNo.length() == 0 || operatorCode.length() == 0 )
{
importResult = importResult + "" + rowCount + "行数据为空。<br>";
isSuccess = false;
}
else //不是空单元格,进行处理
{
try
{
//取得经办人信息
staff = new StaffInfo( operatorCode );
//写入oracle
// oracleStmt.setString( 1, policyNo );
// oracleStmt.setString( 2, staff.getStaffCode() );
// oracleStmt.setString( 3, staff.getStaffName() );
// oracleStmt.setString( 4, staff.getSectionOfficeCode() );
// oracleStmt.setString( 5, staff.getSectionOfficeName() );
// oracleStmt.setString( 6, staff.getDepartmentCode() );
// oracleStmt.setString( 7, staff.getDepartmentName() );
// oracleStmt.setString( 8, getStringValueFromHSSFCell( row.getCell( 6 ) ) );
// oracleStmt.setString( 9, getStringValueFromHSSFCell( row.getCell( 3 ) ) );
// oracleStmt.setString( 10, getStringValueFromHSSFCell( row.getCell( 2 ) ) );
//
// oracleStmt.execute();
//写入informix
ifxStmt.setString( 1, policyNo );
ifxStmt.setString( 2, staff.getStaffCode() );
ifxStmt.setString( 3, staff.getStaffName() );
ifxStmt.setString( 4, staff.getSectionOfficeCode() );
ifxStmt.setString( 5, staff.getSectionOfficeName() );
ifxStmt.setString( 6, staff.getDepartmentCode() );
ifxStmt.setString( 7, staff.getDepartmentName() );
ifxStmt.setString( 8, getStringValueFromHSSFCell( row.getCell( 6 ) ) );
ifxStmt.setString( 9, getStringValueFromHSSFCell( row.getCell( 3 ) ) );
ifxStmt.setString( 10, getStringValueFromHSSFCell( row.getCell( 2 ) ) );
ifxStmt.execute();
}
catch( StaffCodeNotExistException error )
{
//经办人不存在
importResult = importResult + "" + rowCount + "行,保单号" + policyNo + ",经办人" + operatorCode + "不存在。<br>";
//标志位
isSuccess = false;
}
catch( SQLException error )
{
//写入错误
importResult = importResult + "" + rowCount + "行,保单号" + policyNo + ",数据库写入错误,错误信息:" + error.getMessage() + "。<br>";
//标志位
isSuccess = false;
}
}
rowCount++;
row = sheet.getRow( rowCount );
}
//判断标志位如果为false则说明在保存过程中出现了错误放弃所有过程进行回滚。
if ( isSuccess == true )
{
oracleConn.commit();
ifxConn.commit();
}
else
{
oracleConn.rollback();
ifxConn.rollback();
}
//清理
oracleConn.close();
xlsFile.close();
xlsFileIn.close();
//日志
importMessage = "记录数量:" + (rowCount - 1) +
"<br>导入成功数量:" + successCount +
"<br>导入失败数量:" + failCount +
"<br>" + importResult;
return importMessage;
}
private static String getStringValueFromHSSFCell( HSSFCell cell )
{
String value = null;
switch ( cell.getCellType() )
{
case HSSFCell.CELL_TYPE_NUMERIC:
{
//判断是不是整数
double dValue = cell.getNumericCellValue();
if ( dValue == ( int )dValue )
{
value = String.valueOf( ( int )dValue );
}
else
{
value = String.valueOf( dValue );
}
break;
}
case HSSFCell.CELL_TYPE_STRING:
{
value = cell.getStringCellValue();
break;
}
case HSSFCell.CELL_TYPE_BLANK:
{
value = "";
break;
}
default:
{
value = "";
break;
}
}
return value;
}
}

View File

@@ -0,0 +1,16 @@
package com.cpic.telsale.DataImport;
/**
* Created by Kane on 2017/3/29.
*/
/**
* 文件格式错误异常
*/
public class XlsFileFormatException extends Exception
{
public XlsFileFormatException( String message )
{
super( message );
}
}

View File

@@ -0,0 +1,70 @@
package com.cpic.telsale.SessionListener;
/**
* Created by Kane on 2017/3/27.
*/
import javax.servlet.ServletContext;
import javax.servlet.http.*;
import java.io.File;
import java.io.IOException;
import com.cpic.util.FileTools;
public class SessionListener implements HttpSessionListener
{
@Override
public void sessionCreated( HttpSessionEvent event )
{
HttpSession session = event.getSession();
ServletContext context = session.getServletContext();
String sessionID = session.getId();
String tempPathRoot = context.getRealPath( context.getInitParameter( "临时文件根目录" ) );
String sessionTempPath = tempPathRoot + "/" + sessionID;
File tempDir = new File( sessionTempPath );
if ( !tempDir.exists() )
{
if ( tempDir.mkdirs() == true )
{
session.setAttribute( "临时文件根目录", sessionTempPath );
}
else
{
session.removeAttribute( "临时文件根目录" );
}
}
}
@Override
public void sessionDestroyed( HttpSessionEvent event )
{
String tempPath = ( String ) event.getSession().getAttribute( "临时文件根目录" );
if ( tempPath == null )
{
return;
}
File tempDir = new File( tempPath );
if ( !tempDir.exists() )
{
return;
}
//删掉临时目录
try
{
FileTools.deleteDirectory( tempPath );
}
catch( IOException error )
{
event.getSession().getServletContext().log( "删除“临时文件根目录”出错!" );
}
}
}

View File

@@ -0,0 +1,142 @@
package com.cpic.telsale.uploadData;
/**
* Created by Kane on 2017/3/27.
*/
import org.apache.commons.fileupload.*;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.io.IOException;
import java.util.*;
import com.cpic.telsale.DataImport.*;
public class uploadDataProcessor extends HttpServlet
{
private String tempPathRoot; //临时文件目录
private String oracleURL;
private String oracleUserName;
private String oraclePassword;
private String informixURL;
@Override
public void init( ServletConfig config ) throws ServletException
{
//获取参数
//tempPathRoot = ( String )config.getServletContext().getAttribute( "临时文件根目录" );
//oracle
oracleURL = ( String )config.getServletContext().getInitParameter( "oracleURL" );
oracleUserName = ( String )config.getServletContext().getInitParameter( "oracleUserName" );
oraclePassword = ( String )config.getServletContext().getInitParameter( "oraclePassword" );
//informix
informixURL = ( String )config.getServletContext().getInitParameter( "informixURL" );
}
@Override
public void doPost( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException
{
tempPathRoot = ( String )request.getSession().getAttribute( "临时文件根目录" );
String importMessage = null;
try
{
DiskFileItemFactory factory = new DiskFileItemFactory();
factory.setRepository( new File( tempPathRoot ) );
ServletFileUpload upload = new ServletFileUpload( factory );
List<FileItem> uploadFiles = upload.parseRequest( request );
Iterator iterFiles = uploadFiles.iterator();
while ( iterFiles.hasNext() )
{
FileItem fileItem = ( FileItem )iterFiles.next();
if ( !fileItem.isFormField() )
{
//保存上传的文件,返回文件完整路径。
String upLoadedFileName = saveUploadedFile( fileItem );
importMessage = DataImport.importTelsalePolicyDataFromXlsx( upLoadedFileName,
oracleURL,
oracleUserName,
oraclePassword,
informixURL );
}
}
}
catch( FileUploadException error )
{
//文件上传有异常,包装一下重新抛出
throw new ServletException( error.getMessage() );
}
catch( XlsFileFormatException error )
{
//文件格式异常
importMessage = error.getMessage();
}
catch( IOException error )
{
//包装一下重新抛出
throw new ServletException( error.getMessage() );
}
catch( Exception error )
{
throw new ServletException( error.getMessage() );
}
finally
{
request.getSession().setAttribute( "保存日志", importMessage );
}
response.sendRedirect( "uploadPolicyData/uploadPolicyData.jsp" );
}
/**
* 保存上传文件
*
* @param item
* @return
* @throws Exception
*/
private String saveUploadedFile( FileItem item ) throws Exception
{
String fileName = item.getName();
int fileNameIndex = 0;
long fileSize = item.getSize();
//文件路径中可能有使用\和/作为目录分隔符,要分别判断
fileNameIndex = fileName.lastIndexOf( "\\" );
if ( fileNameIndex == 0 )
{
fileNameIndex = fileName.lastIndexOf( "/" );
}
//把文件名从路径中提取出来
fileName = fileName.substring( fileNameIndex + 1, fileName.length() );
if ( fileName.equals( "" ) && fileSize == 0 )
{
throw new Exception( "上传文件错误!" );
}
//生成最终的路径
fileName = tempPathRoot + "/" + String.valueOf( Calendar.getInstance().getTimeInMillis() ) + fileName;
File uploadedFile = new File( fileName );
item.write( uploadedFile );
return fileName;
}
}

View File

@@ -0,0 +1,44 @@
package com.cpic.util;
/**
* Created by Kane on 2017/3/27.
*/
import java.io.File;
import java.io.IOException;
public class FileTools
{
private FileTools() {}
public static void deleteDirectory( String path ) throws IOException
{
File dir = new File( path );
if ( !dir.exists() )
{
return;
}
//先删除子目录和文件
File[] subFiles = dir.listFiles();
int index = 0;
while ( index < subFiles.length )
{
if ( subFiles[index].isDirectory() )
{
deleteDirectory( subFiles[index].getAbsolutePath() );
}
if ( !subFiles[index].delete() )
{
throw new IOException( "目录" + subFiles[index].getAbsolutePath() + "无法删除!" );
}
index++;
}
dir.delete();
}
}

View File

@@ -0,0 +1,12 @@
package com.cpic.util.staff;
/**
* Created by Kane on 2017/3/28.
*/
public class StaffCodeNotExistException extends Exception
{
StaffCodeNotExistException( String message )
{
super( message );
}
}

View File

@@ -0,0 +1,107 @@
package com.cpic.util.staff;
/**
* Created by Kane on 2017/3/28.
*/
import java.io.*;
import java.sql.*;
import java.text.ParseException;
public class StaffInfo
{
private String staffCode;
private String staffName;
private String sectionOfficeCode;
private String sectionOfficeName;
private String departmentCode;
private String departmentName;
public StaffInfo( String staffCode ) throws StaffCodeNotExistException, ClassNotFoundException
{
if ( staffCode.length() < 3 )
{
throw new StaffCodeNotExistException( staffCode + "不存在。");
}
String oracleURL = "jdbc:oracle:thin:@10.39.0.86:1521:xmcx1";
String oracleUserName = "idst0";
String oraclePassword = "cpic123456";
this.staffCode = staffCode;
Class.forName( "oracle.jdbc.driver.OracleDriver" );
Connection conn = null;
PreparedStatement stmt = null;
ResultSet result = null;
String sql =
"SELECT ry.staff_name,\n" +
" ksh.section_office_code,\n" +
" ksh.section_office_name,\n" +
" bm.department_code,\n" +
" bm.department_name\n" +
" FROM idst0.rydm_t ry,\n" +
" idst0.ks_t ksh,\n" +
" idst0.bm_t bm\n" +
" WHERE ry.staff_code = ?\n" +
" AND ry.department_code = bm.department_code\n" +
" AND ry.section_office_code = ksh.section_office_code";
try
{
conn = DriverManager.getConnection( oracleURL, oracleUserName, oraclePassword );
stmt = conn.prepareStatement(sql);
stmt.setString( 1, staffCode );
result = stmt.executeQuery();
if ( result.next() )
{
staffName = result.getString( "staff_name" );
sectionOfficeCode = result.getString( "section_office_code" );
sectionOfficeName = result.getString( "section_office_name" );
departmentCode = result.getString( "department_code" );
departmentName = result.getString( "department_name" );
}
conn.close();
}
catch ( SQLException error )
{
//sql错误当做工号错误抛出
throw new StaffCodeNotExistException( error.getMessage() );
}
}
public String getStaffCode()
{
return staffCode;
}
public String getStaffName()
{
return staffName;
}
public String getSectionOfficeCode()
{
return sectionOfficeCode;
}
public String getSectionOfficeName()
{
return sectionOfficeName;
}
public String getDepartmentCode()
{
return departmentCode;
}
public String getDepartmentName()
{
return departmentName;
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<!--监听器-->
<listener>
<listener-class>com.cpic.telsale.SessionListener.SessionListener</listener-class>
</listener>
<!--参数-->
<session-config>
<session-timeout>10</session-timeout>
</session-config>
<!--全局的参数-->
<context-param>
<param-name>临时文件根目录</param-name>
<param-value>temporaryFiles</param-value>
</context-param>
<context-param>
<param-name>oracleURL</param-name>
<param-value>jdbc:oracle:thin:@10.39.0.86:1521:xmcx1</param-value>
</context-param>
<context-param>
<param-name>oracleUserName</param-name>
<param-value>telsale</param-value>
</context-param>
<context-param>
<param-name>oraclePassword</param-name>
<param-value>cpic123456</param-value>
</context-param>
<context-param>
<param-name>informixURL</param-name>
<param-value>jdbc:informix-sqli://10.39.0.92:16192/ywgl_xm:INFORMIXSERVER=xmcx2;newcodeset=GBK,8859-1,819;user=ccx99;password=c92IT09</param-value>
</context-param>
<!--Servlet设置-->
<servlet>
<servlet-name>UploadDataProcessor</servlet-name>
<servlet-class>com.cpic.telsale.uploadData.uploadDataProcessor</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>UploadDataProcessor</servlet-name>
<url-pattern>/upload-policy-data</url-pattern>
</servlet-mapping>
</web-app>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

20
代码/jsp/web/index.jsp Normal file
View File

@@ -0,0 +1,20 @@
<%--
Created by IntelliJ IDEA.
User: Kane
Date: 2017/3/27
Time: 15:07
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>$Title$</title>
<link rel="icon" href="image/telephone.png">
</head>
<body>
<%
response.sendRedirect( "uploadPolicyData/uploadPolicyData.jsp" );
//session.getAttribute( "tst" );
%>
</body>
</html>

View File

@@ -0,0 +1,10 @@
#resultDiv
{
border: 1px solid silver;
min-height: 600px;
max-height: 800px;
margin-left: 0px;
margin-right: 0px;
overflow-y:scroll
}

View File

@@ -0,0 +1,58 @@
<%--
Created by IntelliJ IDEA.
User: Kane
Date: 2017/3/27
Time: 16:14
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=gb2312" language="java" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<html>
<head>
<title><3E><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD></title>
<link rel="icon" href="../image/telephone.png" >
<link rel="stylesheet" href="uploadPolicyData.css" >
</head>
<body>
<p><3E><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD></p>
<hr>
<form name="telSalePolicyDataUpload" method="post" action="<%=path%>/upload-policy-data" enctype="multipart/form-data" >
<label><3E>ļ<EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><input type="file" name="data-file-name" size="30"></label>
<input type="submit" name="upload" value="<22>ϴ<EFBFBD>">
<input type="reset" name="reset" value="<22><><EFBFBD><EFBFBD>">
</form>
<!--<2D>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ-->
<%
int uploadCount = 0;
int successedCount = 0;
int failCount = 0;
String resultText = "<p><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־</p>";
Object result = session.getAttribute( "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־" );
if ( result != null )
{
//uploadCount = (int)session.getAttribute( "<22>ϴ<EFBFBD><CFB4><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>" );
//successedCount = (int)session.getAttribute( "<22><><EFBFBD><EFBFBD><EFBFBD>ɹ<EFBFBD><C9B9><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>" );
//failCount = (int)session.getAttribute( "<22><><EFBFBD><EFBFBD>ʧ<EFBFBD>ܼ<EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>" );
resultText = (String)session.getAttribute( "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־" );
%><div id="resultDiv" ><%
}
else
{
%><div id="resultDiv" style="display:none;" ><%
}
%>
<%=resultText%>
</div>
<%
session.removeAttribute( "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־" );
%>
</body>
</html>