`
othella
  • 浏览: 83792 次
  • 性别: Icon_minigender_2
  • 来自: 杭州
社区版块
存档分类
最新评论
文章列表
转载地址:http://www.wujianrong.com/archives/2006/12/javalangoutofmemoryerror_permg.html PermGen space的全称是Permanent Generation space,是指内存的永久保存区域 OutOfMemoryError: PermGen space从表面上看就是内存益出,解决方法也一定是加大 内存。说说为什么 ...
使用String.split方法时遇到的问题(转载) http://blog.csdn.net/jame_peng/archive/2006/05/22/749308.aspx 使用String.split方法时遇到的问题 今天在使用String.split()方法时因为使用"|"作分割符,总是得不到结果。于是在网上Google了一下,终于找到了答案。 在使用String.split方法分隔字符串时,分隔符如果用到一些特殊字符,可能会得不到我们预期的结果。 我们看jdk doc中说明 public String[] split(String regex) Splits th ...
最近用jdk1.5做了个小项目,在weblogic8.1上发布就抛如下错误: Error 500--Internal Server Error javax.servlet.jsp.JspException: Exception creating bean of class com.webex.struts.form.LogonForm: {1} at org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:487) at org.apache.struts.taglib.html.FormTag.doStartTag( ...
1.设置Cookie Cookie cookie = new Cookie("key", "value"); cookie.setMaxAge(60); //设置60秒生存期,如果设置为负值的话,则为浏览器进程Cookie(内存中保存),关闭浏览器就失效。 cookie.setPath("/test/test2"); //设置Cookie路径,不设置的话为当前路径(对于Servlet来说为request.getContextPath() + web.xml里配置的该Servlet的url-pattern路径部分) response.a ...
1,设置cookie(name是自定义的cookie名字标识,value为保存的信息,expires为有效时间,path存放路径,domain存放域名(没怎么用),secure貌似没用到 //set cookie function set_cookie(name,value,expires,path,domain,secure ) { // set time, it's in milliseconds var today = new Date(); today.setTime(today.getTime()); if (expires){ expires = expires * 1000 * ...
XP系统 1.在html里面声明自定义tag名称MSIE <html xmlns:MSIE> 2.加入该段代码 <STYLE> @media all {    MSIE\:CLIENTCAPS {behavior:url(#default#clientcaps)} } </STYLE> 3.页面上设置控件 <MSIE:CLIENTCAPS ID="oClientCaps" /> 4.判断是否有JVM oClientCaps.isComponentInstalled("{08B0E5C0-4FCB-11CF-AAA5-0 ...
Global site tag (gtag.js) - Google Analytics