CSharp客户端通过Http模拟表单提交到Java的web服务端.rar

上传者: mzh3511 | 上传时间: 2022-06-10 09:51:59 | 文件大小: 3.99MB | 文件类型: RAR
CSharp客户端通过Http模拟表单提交到Java的web服务端.rar C#的wpf客户端使用HttpWebRequest模拟网页表单提交数据到Java的web服务端,Java服务端使用commons-fileupload.jar,Spring接受数据。 ********************************** *该程序可以同时提交表单数据和上传文件* **********************************

文件下载

资源详情

[{"title":"( 89 个子文件 3.99MB ) CSharp客户端通过Http模拟表单提交到Java的web服务端.rar","children":[{"title":"CSharp","children":[{"title":"WpfApp","children":[{"title":"WpfApp.sln <span style='color:#111;'> 1002B </span>","children":null,"spread":false},{"title":"WpfApp","children":[{"title":"App.xaml <span style='color:#111;'> 317B </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"WpfApp_MarkupCompile.cache <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"WpfApp_MarkupCompile.i.cache <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 6.03KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.05KB </span>","children":null,"spread":false},{"title":"GenerateResource.read.1.tlog <span style='color:#111;'> 110B </span>","children":null,"spread":false},{"title":"WpfApp.csproj.FileListAbsolute.txt <span style='color:#111;'> 839B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"WpfApp.exe <span style='color:#111;'> 20.50KB </span>","children":null,"spread":false},{"title":"App.g.i.cs <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 6.03KB </span>","children":null,"spread":false},{"title":"WpfApp.pdb <span style='color:#111;'> 53.50KB </span>","children":null,"spread":false},{"title":"WpfApp.g.resources <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"GenerateResource.write.1.tlog <span style='color:#111;'> 268B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 6.40KB </span>","children":null,"spread":false},{"title":"WpfApp.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"WpfApp.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false},{"title":"WpfApp.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"WpfApp.exe.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"WpfApp.exe <span style='color:#111;'> 20.50KB </span>","children":null,"spread":false},{"title":"WpfApp.pdb <span style='color:#111;'> 53.50KB </span>","children":null,"spread":false},{"title":"WpfApp.vshost.exe.config <span style='color:#111;'> 144B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"App.xaml.cs <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"HttpClient.cs <span style='color:#111;'> 21.29KB </span>","children":null,"spread":false},{"title":"MainWindow.xaml <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"HttpWalker.cs <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"WpfApp.csproj <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false}],"spread":false},{"title":"WpfApp.suo <span style='color:#111;'> 26.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Java","children":[{"title":"multiupload","children":[{"title":"src","children":[{"title":"com","children":[{"title":"len","children":[{"title":"trans","children":[{"title":"controller","children":[{"title":"UploadFileController.java <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false},{"title":"FileUploadServlet.java <span style='color:#111;'> 4.72KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"PropertiesUtil.java <span style='color:#111;'> 980B </span>","children":null,"spread":false}],"spread":true},{"title":"common","children":[{"title":"Constant.java <span style='color:#111;'> 185B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"config","children":[{"title":"upload.properties <span style='color:#111;'> 11B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false},{"title":".mymetadata <span style='color:#111;'> 307B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"com.genuitec.eclipse.j2eedt.core.prefs <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 395B </span>","children":null,"spread":false}],"spread":true},{"title":".myeclipse","children":null,"spread":false},{"title":".project <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"WebRoot","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 36B </span>","children":null,"spread":false}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 886B </span>","children":null,"spread":false},{"title":"upFile.jsp <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"upload","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"len","children":[{"title":"trans","children":[{"title":"controller","children":[{"title":"FileUploadServlet.class <span style='color:#111;'> 4.93KB </span>","children":null,"spread":false},{"title":"UploadFileController.class <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false}],"spread":false},{"title":"util","children":[{"title":"PropertiesUtil.class <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false}],"spread":false},{"title":"common","children":[{"title":"Constant.class <span style='color:#111;'> 429B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"upload.properties <span style='color:#111;'> 11B </span>","children":null,"spread":false}],"spread":false},{"title":"jsp","children":[{"title":"upload.jsp <span style='color:#111;'> 643B </span>","children":null,"spread":false},{"title":"success.jsp <span style='color:#111;'> 380B </span>","children":null,"spread":false}],"spread":false},{"title":"spring-servlet.xml <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"org.springframework.web-3.0.0.RELEASE.jar <span style='color:#111;'> 350.74KB </span>","children":null,"spread":false},{"title":"org.springframework.jms-3.0.0.RELEASE.jar <span style='color:#111;'> 180.49KB </span>","children":null,"spread":false},{"title":"org.springframework.web.struts-3.0.0.RELEASE.jar <span style='color:#111;'> 31.13KB </span>","children":null,"spread":false},{"title":"org.springframework.web.portlet-3.0.0.RELEASE.jar <span style='color:#111;'> 170.32KB </span>","children":null,"spread":false},{"title":"org.springframework.context.support-3.0.0.RELEASE.jar <span style='color:#111;'> 98.80KB </span>","children":null,"spread":false},{"title":"commons-logging.jar <span style='color:#111;'> 51.67KB </span>","children":null,"spread":false},{"title":"commons-io.jar <span style='color:#111;'> 81.65KB </span>","children":null,"spread":false},{"title":"org.springframework.spring-library-3.0.0.RELEASE.libd <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"org.springframework.asm-3.0.0.RELEASE.jar <span style='color:#111;'> 51.84KB </span>","children":null,"spread":false},{"title":"org.springframework.expression-3.0.0.RELEASE.jar <span style='color:#111;'> 150.59KB </span>","children":null,"spread":false},{"title":"org.springframework.oxm-3.0.0.RELEASE.jar <span style='color:#111;'> 54.94KB </span>","children":null,"spread":false},{"title":"org.springframework.test-3.0.0.RELEASE.jar <span style='color:#111;'> 202.14KB </span>","children":null,"spread":false},{"title":"org.springframework.jdbc-3.0.0.RELEASE.jar <span style='color:#111;'> 372.94KB </span>","children":null,"spread":false},{"title":"org.springframework.beans-3.0.0.RELEASE.jar <span style='color:#111;'> 539.03KB </span>","children":null,"spread":false},{"title":"org.springframework.web.servlet-3.0.0.RELEASE.jar <span style='color:#111;'> 377.68KB </span>","children":null,"spread":false},{"title":"org.springframework.aop-3.0.0.RELEASE.jar <span style='color:#111;'> 316.64KB </span>","children":null,"spread":false},{"title":"commons-fileupload.jar <span style='color:#111;'> 51.84KB </span>","children":null,"spread":false},{"title":"org.springframework.transaction-3.0.0.RELEASE.jar <span style='color:#111;'> 226.23KB </span>","children":null,"spread":false},{"title":"org.springframework.core-3.0.0.RELEASE.jar <span style='color:#111;'> 350.92KB </span>","children":null,"spread":false},{"title":"org.springframework.instrument.tomcat-3.0.0.RELEASE.jar <span style='color:#111;'> 5.58KB </span>","children":null,"spread":false},{"title":"org.springframework.orm-3.0.0.RELEASE.jar <span style='color:#111;'> 322.46KB </span>","children":null,"spread":false},{"title":"org.springframework.context-3.0.0.RELEASE.jar <span style='color:#111;'> 642.08KB </span>","children":null,"spread":false},{"title":"org.springframework.aspects-3.0.0.RELEASE.jar <span style='color:#111;'> 29.77KB </span>","children":null,"spread":false},{"title":"org.springframework.instrument-3.0.0.RELEASE.jar <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"web.xml <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • yejunjie_java :
    写的非常好,使我了解了c#与java间的通信。
    2014-12-23
  • yi_sheng :
    很好用,直接成功了
    2014-12-05
  • dongheng1987 :
    让我知道了httpclient这个开源的类库,呵呵。
    2013-12-25
  • leonardodacn :
    资源还不错,服务端的上传代码要稍做修改,主要还是让我知道了httpclient这个开源的类库。 后面的朋友可以去看看httpclient再决定是不是要下载
    2013-10-15

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明