摘要: //传“+”到后台变空值 ClientDigest = ClientDigest.replace(/\+/g,"%2B"); //传“&”到后台变空值 ClientDigest = ClientDigest.replace(/\&/g,"%26"); 阅读全文
posted @ 2016-10-31 15:09 尚荣伊翁 阅读(625) 评论(0) 推荐(0) 编辑
摘要: /** * 递归读取文件夹下所有文档 * @author Administrator * */ public class FileLoop{ private static List fileList = new ArrayList(); public static void main(String[] args) { List list = fi... 阅读全文
posted @ 2016-09-28 11:47 尚荣伊翁 阅读(695) 评论(0) 推荐(0) 编辑
摘要: 问题出现原因,先安装了MyEclipse8.5,在安装MyEclipse10,破解时找不到common-->plugins文件夹。 问题解决主要是找到plugins文件夹,文件夹路径可以在项目安装路径的myeclipse.ini文件中找到 图1 MyEclipse8.5的配置文件 图2 MyEcli 阅读全文
posted @ 2016-09-09 12:38 尚荣伊翁 阅读(2914) 评论(0) 推荐(0) 编辑
摘要: public void downloadFile(){ String filePath = request.getParameter("filepath"); try { filePath = new String(filePath.getBytes("ISO-8859-1"),"UTF-8"); String ro... 阅读全文
posted @ 2016-06-02 19:29 尚荣伊翁 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 1 import java.text.ParseException; 2 import java.text.SimpleDateFormat; 3 import java.util.Calendar; 4 import java.util.Date; 5 6 /** 7 * 日期工具 8 * @author hp 9 * 10 */ 11 public class D... 阅读全文
posted @ 2016-04-10 17:53 尚荣伊翁 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 一、查看Tomcat内存①保证tomcat的webapps文件夹下面ROOT项目存在②添加tomcat账户打开tomcat-->>conf-->>tomcat-users.xml,如图在标签中添加如下账户③访问查看内存在浏览器地址栏输入http://IP地址+端口二、配置Tomcat内存方法应该很多... 阅读全文
posted @ 2016-01-07 20:09 尚荣伊翁 阅读(592) 评论(0) 推荐(0) 编辑
摘要: 第一种:断网或网络不畅通导致www.hibernate.org连接不上,可配置本地dtd文件解决myeclipse-->window-->Preferences-->输入catalog-->找到XML Catalog-->点击add第二种:暂未试过"http://www.hibernate.org/... 阅读全文
posted @ 2015-12-10 14:32 尚荣伊翁 阅读(502) 评论(0) 推荐(0) 编辑
摘要: 1、查看哪个表被锁select b.owner,b.object_name,a.session_id,a.locked_modefrom v$locked_object a,dba_objects bwhere b.object_id = a.object_id2、查看引起表锁住的Sessionse... 阅读全文
posted @ 2015-09-09 17:41 尚荣伊翁 阅读(236) 评论(0) 推荐(0) 编辑
摘要: eclipse打开当前文件所在文件夹:①Run-->External Tools-->External Tools Configurations...②填写两个参数值:Location :C:/WINDOWS/explorer.exeArguments : ${container_loc}③配置完成... 阅读全文
posted @ 2015-07-06 09:08 尚荣伊翁 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://iamyida.iteye.com/blog/2209106?utm_source=tuicool最近忙着面试以及生活琐事把时间都霸占了,博客拖了4天没更新了,让各位久等了,望多多包涵!不过还好,工作已经敲定了,终于可以安心的学习Solr并分享我学习的点点滴滴啦! 上回... 阅读全文
posted @ 2015-06-12 10:37 尚荣伊翁 阅读(369) 评论(0) 推荐(0) 编辑