摘要: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.IO; namespace ReligionServer.util { public class FileUtil { /// /// 根据给定路径删除文件... 阅读全文
posted @ 2019-03-15 11:29 拂衣志 阅读(303) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Drawing; using System.IO; using ReligionServer.constant; namespace ReligionServer.util { /// ... 阅读全文
posted @ 2019-03-15 11:29 拂衣志 阅读(815) 评论(0) 推荐(0) 编辑
摘要: 反射工具类请参见:https://www.cnblogs.com/threadj/p/10535796.html 阅读全文
posted @ 2019-03-15 11:26 拂衣志 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 反射工具类请参见:https://www.cnblogs.com/threadj/p/10535796.html 阅读全文
posted @ 2019-03-15 11:18 拂衣志 阅读(634) 评论(0) 推荐(0) 编辑
摘要: //这个是我在使用ashx处理程序的时候写的,一个ashx(一般处理程序)对应一个请求,我觉得一个请求一个文件不够优雅,所以就使用反射结合上传参数action(action:methodname)进行方法调用,以此来实现一个文件一个模块可多个请求的情况 Framework版本:.Net Framew 阅读全文
posted @ 2019-03-15 11:14 拂衣志 阅读(841) 评论(0) 推荐(0) 编辑
摘要: 1、json参数为json字符串 2、JSON参数为JSON对象 阅读全文
posted @ 2019-03-15 11:10 拂衣志 阅读(4867) 评论(0) 推荐(0) 编辑
摘要: 使用DELETE方式进行交互 说明:ResponseData为自定义返回体{String code, String msg, List<?> data} PollutionData 为一个entity 属性部分包含{String id, String name} CodeEnum、MsgEnum为自 阅读全文
posted @ 2018-08-16 17:50 拂衣志 阅读(50261) 评论(0) 推荐(3) 编辑
摘要: 一、依赖文件 <link rel="stylesheet" type="text/css" th:href="@{/js/bootstrap/css/bootstrap.css}"> <link rel="stylesheet" type="text/css" th:href="@{/js/boot 阅读全文
posted @ 2018-07-28 16:48 拂衣志 阅读(7929) 评论(1) 推荐(0) 编辑
摘要: 一、需要去官网申请一个密钥(ak)地址:http://lbsyun.baidu.com/apiconsole/key?application=key 在这里使用html来进行演示 二、新建一个html文件,然后加入百度地图的API 1 <!DOCTYPE html> 2 <html> 3 <head 阅读全文
posted @ 2018-04-13 21:23 拂衣志 阅读(700) 评论(0) 推荐(0) 编辑
摘要: 使用版本:struts-2.5.12-all 出现问题:在开启动态方法调用后,找不到没有匹配的路径映射 <constant name="struts.enable.DynamicMethodInvocation" value="true" />默认是关闭的 2018-04-01 16:09:21,3 阅读全文
posted @ 2018-04-01 16:35 拂衣志 阅读(290) 评论(0) 推荐(0) 编辑