![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
实用技术归类
自由即是逃避
这个作者很懒,什么都没留下…
展开
-
xml文件导入、读取
package com.finstone.app.common.controller; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOExc...2016-07-01 15:30:18 · 611 阅读 · 0 评论 -
excel模板操作
javascript部分 //项目导出 function exportExl(){ var xzqh = tree0.getValue(); var nf=NF.getValue(); var xmmc=XMMC.getValue(); var xmzt=XMZT.getValue(); location.href = "exportxmexl?XM...原创 2016-07-08 09:52:37 · 98 阅读 · 0 评论 -
常用工具类(文件复制、特殊字符过滤)
文件复制: public static boolean CopyFile(byte[] byt ,String filename,String path) throws IOException { FileOutputStream fos = null; File dir = new File(path); try{ if (!dir.exists())...原创 2016-07-08 13:41:37 · 438 阅读 · 0 评论 -
访问路径--过滤器
spring-mvc.xml <!-- 以下配置将拦截所有的URL请求 --> <mvc:interceptors> <bean class="**过滤类***AccessHandlerInterceptor" /> </mvc:interceptors> <!-- 以下配置将拦截特有的URL请求 --> <..原创 2016-07-08 17:16:01 · 205 阅读 · 0 评论 -
项目文件部署功能
将更新文件夹压缩为zip格式上传,解析更新。 大致步骤为: 1、前台上传文件; 2、上传文件至服务器; 3、验证上传版本信息; 4、更新文件; 前台html&js代码: <form name="cForm" action="" enctype="multipart/form-data" method="post"> <input nam原创 2016-08-10 10:44:58 · 154 阅读 · 0 评论