自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 ClearType设置程序

    XP默认的字体效果并不好,使用Consolas字体的话,记得必须需要下载安装一个ClearType设置软件,并打开ClearType哦!!这是微软的字体清晰显示技术的说。安装后会在控制面板里多一个控制项,操作很简单,就不多说了。...

2010-09-26 11:52:25 241

原创 extjs中的this.config[] is undefined

在使用ext时报以上错误,原因是在使用了autoExpandColumn : 'id',而在column中并未定义id属性,错误在于自动延伸的那一列是需要用到id的。header : 'id',sortable : true,menuDisabled : true,id:'id',dataIndex : 'id' ...

2010-09-26 09:29:26 216

原创 Yahoo、Google样式的Logo生成网站

 觉得用于生成Google、Yahoo样式的Logo蛮好的,记录下来网址:http://funnylogo.info/extrathemes.asp 

2010-09-20 14:30:21 326

原创 为啥Hibernate的HQL查询要使用别名呢?

今天写了一句超级简单的HQL语句,竟然报错String hql = "from Book where Book.ISBN=?";Query query = session.createQuery(hql);query.setString(0, "7-02-002475-0");List<Book> list = query.list();for(Book l : ...

2010-09-19 16:10:31 791

原创 s:fielderror标签的使用

<s:if test="hasFieldErrors()"> <div style="border:1px dashed red;color: red"> <s:fielderror name="err"> </s:fielderror> <img alt="" src="

2010-09-17 10:23:58 355

原创 Struts2的Action配置中使用斜杠

    默认在Struts2的Action配置时是不允许使用斜杠的,也就是无法写<action name="*/*.action" ...>这样的配置,也就是这是只能通过package来分隔命名空间了。OK,配个常量吧struts.enable.SlashesInActionNames = true  ...

2010-09-17 10:08:16 442

原创 svn: Working XXXX copy locked

svn: Working XXXX copy   locked,计算机异常关闭出现了此问题,可以通过clean解决。

2010-09-16 08:59:48 99

原创 GAE中JDO出现的持久化问题

The class "The class "cn.neilone.appspot.model.Article" is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is h...

2010-09-16 08:35:11 303

原创 GAE中spring无法识别jdoconfig

准备在GAE中用spring管理JDO,无奈搞了n久仍然没有搞出来,,网上几乎都会用以下配置 <bean id="pmf" class="org.springframework.orm.jdo.LocalPersistenceManagerFactoryBean"> <!-- The name of the PMF is in META-INF/jdoconfig...

2010-09-15 09:31:26 117

原创 eclipse中Alt+/失效的解决方案

window   ->   Preferences   ->   General   ->   Keys 1、删掉word completion的快捷键设置alt+/   (或改成其它的,如alt+c等)2、把Content Assist的快捷键由ctrl+space改成alt+/...

2010-09-14 15:57:44 138

原创 org.apache.jasper.JasperException: java.security.AccessControlException

今天开始将spring整合到GAE上,竟然出现了问题。根据网络资料是不要使用spring-all-in-one jar,主要是javax.naming等问题,我也特别留意了一下,只用了需要用的spring的几个jar。报错如下Struts has detected an unhandled exception: Messages: access denied (java.io.File...

2010-09-14 15:24:52 107

原创 subclipse中文转英文

在eclipse中安装subclipse插件之后,subclipse通常会是中文,本人还是习惯用英文版的eclipse,那就将subclipse英文化吧1.打开eclipse\configuration\config.ini2.在末尾追加以下语句osgi.nl=en_US ...

2010-09-14 15:05:04 161

原创 GAE中增加Struts2支持

1.增加Struts2的jar包                       2.修改web.xml文件<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "...

2010-09-13 20:53:39 132

原创 java.lang.NoClassDefFoundError: javax.swing.tree.TreeNode is a restricted class

今天在GAE中配置Struts中出现了不少问题,以下是其中一个Problem accessing /hello.action. Reason: java.lang.NoClassDefFoundError: javax.swing.tree.TreeNode is a restricted class. Please see the Google App Engi...

2010-09-13 20:32:48 332

原创 Provider org.apache.xalan.processor.TransformerFactoryImpl not found

javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found at javax.xml.transform.TransformerFactory.newInstance(TransformerFactor...

2010-09-13 19:20:54 224

原创 GAE原来有Eclipse 3.5的插件

一直在看Google官方GAE的教程,也就傻傻地认为Google只提供Eclipse 3.3 (Europa) 和 Eclipse 3.4 (Ganymede)的开发插件 。偶然间发现Google Code上update site Google Code 写道Eclipse 3.6 (Helios) http://dl.google.com/eclipse/plugin/3.6 E...

2010-09-13 13:53:36 122

原创 Heritrix取消robots.txt

      Robots.txt是一种用于限制网络爬虫的文件,如果在构建网站时,在站点内放置一个Robots.txt文件,在其中可以声明不希望搜索引擎访问的部分。然而,这也是Heritrix爬虫在抓取网页时花费过多的时间去判断该Robots.txt文件是否存在。。。好在这个协议本身是一种附加协议,完全可以不遵守。    在Heritrix的org.archive.crawler.prefe...

2010-09-12 21:50:56 165

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除