检查C_Process

hechu1
zhai_lw 6 years ago
parent f273822c2e
commit a4e4c862e0

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

@ -17,10 +17,18 @@
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="jdk" jdkName="10" jdkType="JavaSDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" scope="PROVIDED" name="lib" level="project" />
<orderEntry type="library" exported="" scope="PROVIDED" name="Tomcat 8.5.37" level="application_server_libraries" />
<orderEntry type="library" scope="PROVIDED" name="tomcat-lib" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Tomcat 8.5.37" level="application_server_libraries" />
<orderEntry type="library" name="lib" level="project" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://C:/Program Files/Apache Software Foundation/Tomcat 8.5/lib/tomcat-jdbc.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>

@ -17,18 +17,6 @@ public class test {
System.out.println(i);
}while(i<3);
List<String> list = new ArrayList<>();
list.add("q");
list.add("w");
Map<String,String> map=new HashMap<>();
map.put("a","b");
map.put("c","d");
Select sql = new Select(list,"zx",map,1,2);
System.out.println(sql.getSQL());
System.out.println(Utils.getFilePathName("a","b"));
String a = "a";
changeB(a);
System.out.println(a);
}
static void changeB(String a){
a="B";

@ -13,7 +13,8 @@ import java.io.IOException;
public class S_StudentUploadFinishedProduct extends HttpServlet {
static String fileType = "graduation_design_finished_product";
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");
String id = "000";
//String id = request.getParameter("id");
String fileURL = servlet.Utils.saveFile(request, fileType);
}
}

@ -1,7 +1,6 @@
package servlet;
import gdms.Configuration;
import org.apache.coyote.Request;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;

@ -4,8 +4,8 @@ $(document).ready(function () {
$(document).off('change',showMsg).on('change','.true-select',showMsg)
})
function sendFile() {
var fileData =new FormData;
var Url4='testfrom.jsp';
var fileData =new FormData();
var Url4='student-upload-finished-product';
var file=$('.true-select').files;
if($('.true-select').val()=='')
{

Loading…
Cancel
Save