- 博客(3)
- 收藏
- 关注
转载 Tomcat出现 PermGen space解决方案
PermGen space的全称是PermanentGeneration space,是指内存的永久保存区域,这块内存主要是被JVM存放Class和Meta信息的,Class在被Loader时就会被放到PermGen space中,它和存放类实例(Instance)的Heap区域不同,GC(GarbageCollection)不会在主程序运行期对PermGen space进行清理,所以如果你的
2012-06-28 09:30:43
240
转载 web传递中文参数
传递之前先编码 username=URLEncoder.encode("参数","utf-8");接受参数后解码 URLDecoder.decode(new String(request.getParameter("username").getBytes("ISO8859-1"),"utf-8"),"utf-8")
2012-06-11 19:25:47
203
转载 struts2 中用redirect时 参数的传递
(方法一):我现在需要把一个action(action1)中的变量传递到另外的一个action(action2)中,两个action中都定义了属性 String userId,User user,并且定义了相应的getter,setter方法,在struts.xml中配置如下: Action2 / 同一个namespace时可以不写${user} ${userId}
2012-06-11 18:32:27
262
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人