![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
我的转载
CHE墨心
这个作者很懒,什么都没留下…
展开
-
windows下使用memcache并修改memcache最大使用内存
将memcache服务器安装包解压到C:\memcached文件夹后,使用cmd命令窗口安装。 1>开始>运行:CMD(确定) 2>cd C:\memcached(回车) 3>memcached -d install(回车 这步执行安装) 4>memcached -d start(回车 这步执行启动memcache服务器,默认分配64M内存,使用11211端口)转载 2014-08-20 12:53:41 · 949 阅读 · 0 评论 -
java编写http请求:HttpURLConnection
URL url = new URL(urlPath); HttpURLConnection connection = (HttpURLConnection)url.openConnection(); connection.setDoOutput(true); connection.setDoInput(true); connection.setRequestMethod("转载 2014-09-23 16:17:01 · 654 阅读 · 0 评论 -
There is a cycle in the hierarchy & json-lib 之jsonConfig详细使用(转载写的不错)
在使用JSONObject.fromObject的时候,出现“There is a cycle in the hierarchy”异常。 意思是出现了死循环,也就是Model之间有循环包含关系; 解决办法: 使用setCycleDetectionStrategy防止自包含 代码: List departmentList = departmentService.findByHosp转载 2015-01-09 09:33:13 · 592 阅读 · 0 评论 -
struts s:if 截取字符串,判断字符串长度
<% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> test 2"> sun转载 2015-01-18 21:51:29 · 1055 阅读 · 0 评论 -
Windows下mysql忘记root密码的解决方法
转载地址:http://www.cnblogs.com/andy_tigger/archive/2012/04/12/2443652.html Mysql版本:5.1 1、 首先检查mysql服务是否启动,若已启动则先将其停止服务,可在开始菜单的运行,使用命令: net stop mysql 打开第一个cmd窗口,切换到mysql的bin目录,运行命令: m转载 2015-11-30 23:53:52 · 388 阅读 · 0 评论