文章分类 -  Java&&J2EE

Java&&J2EE
eclipse cvs 代理设置
摘要: 阅读全文
posted @ 2010-01-24 15:13 sky100 阅读(475) 评论(0) 推荐(0)
java 读取Blog 字段 输出为Excel
摘要:public ActionForward getSchedulerData(ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse response) throws Exception{ServletOutputStream out=response.getOutputStream... 阅读全文
posted @ 2010-01-11 13:12 sky100 阅读(403) 评论(0) 推荐(0)
DSpace 支援格式
摘要:格式支援等级top  名称延伸MIME Type支援等级Unknown application/octet-stream未知Adobe PDFpdfapplication/pdf已知XMLxmltext/xml已知Texttxt, asctext/plain已知HTMLhtm, htmltext/html已知CSScsstext/css已知Microsoft Worddocapplication/... 阅读全文
posted @ 2010-01-11 13:07 sky100 阅读(357) 评论(0) 推荐(0)
新的日志slf4j
摘要:新的日志slf4j项目日志系统将会扔掉commons-logging和log4j,使用SLF4J全面接管,无障碍迁移。优点:超超超低依赖性透明切换不同是日志实现方式编译器绑定底层实现的方式,不会有classloader问题性能更佳已经Hibernate、Jetty、Spring-OSGi、Tapestry等项目中使用完善又免费的文档各个jar包功能:slf4j-api-1.4.3.jar - 一定... 阅读全文
posted @ 2009-11-15 11:42 sky100 阅读(293) 评论(0) 推荐(0)
eclipse-jad-java的反编译工具
摘要:jad是java的反编译工具,是命令行执行,反编译出来的源文件可读性较高。可惜用起来不太方便。还好 找到eclipse下的插件,叫jadclipse,安装好之后,只要双击。class文件,就能直接看源文件,包括jar 包中的class文件,也可以直接反编译。 1.下载http://www.kpdus.com/jad.html#download下载后解压。解压缩后将jad.exe拷贝到JRE的bin... 阅读全文
posted @ 2009-10-20 14:07 sky100 阅读(300) 评论(0) 推荐(0)
MyEclipse Flex环境配置详解
摘要:MyEclipse Flex的配置之初我们看看缘由:一开始学习使用Flex的时候,我是用的单独的FlexBuilder3,做些纯Flex的应用程序还可以.但是如果要和Java结合在一起使用,即利用FLEX充当一个完整的J2EE系统的WEB层的话,那么单独使用FlexBuilder3和MYECLIPSE是很不方便的,大大影响了开发效率,因此做了下MyEclipse+Flex的配置,达到直接在利用My... 阅读全文
posted @ 2009-09-26 15:28 sky100 阅读(670) 评论(0) 推荐(0)
Java + Flex 简单实现
摘要:Download and install the software in the Requirements section, and start BEA Workshop Studio.Create a new Flex Server project by importing the BlazeDS blazeds.war file (which comes with your download ... 阅读全文
posted @ 2009-09-20 23:17 sky100 阅读(906) 评论(0) 推荐(0)
No row with the given identifier exists
摘要:出现异常org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException: No row with the given identifier exists一.No row with the given identifier exists 解决方法有两张表,a和b.产生此问题的原因就是a里做了关联<one- ... 阅读全文
posted @ 2009-07-01 17:01 sky100 阅读(662) 评论(0) 推荐(0)
java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.
摘要:错误信息:An attempt by a client to checkout a Connection has timed out.java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.at com.mchange.v2.sql.SqlUtils.toSQLException(Sq... 阅读全文
posted @ 2009-06-30 10:14 sky100 阅读(7568) 评论(0) 推荐(0)
Hibernate常见错误
摘要:Hibernate常见错误1.错误:object references an unsaved transient instance - save the transient instance before flushing:com.xxxx.bean.java.Sysblog; nested exception is org.hibernate.TransientObjectException: ... 阅读全文
posted @ 2009-06-05 11:08 sky100 阅读(1406) 评论(0) 推荐(0)
Hibernate中的cascade和inverse
摘要:这两个属性都用于一多对或者多对多的关系中。而inverse特别是用于双向关系,在单向关系中我们并不需要。 Cascade代表是否执行级联操作,Inverse代表是否由己方维护关系。 Cascade: Cascade属性的可能值有 all: 所有情况下均进行关联操作,即save-update和delete。 none: 所有情况下均不进行关联操作。这是默认值。 save-update: 在执行... 阅读全文
posted @ 2009-06-05 11:05 sky100 阅读(211) 评论(0) 推荐(0)
hibernate的常见错误解决方法
摘要:1、org.springframework.orm.ObjectRetrievalFailureException: Object of class [com.xindeco.myregister.pojo.MyRegisterInfo] with identifier [14]: not foundMyRegisterInfo在数据库没有identifier [14]对象。2、org.sprin... 阅读全文
posted @ 2009-06-05 10:53 sky100 阅读(1199) 评论(0) 推荐(0)
quartz 关于配置文件中参数cronExpression的说明
摘要:--关于配置文件中参数cronExpression的说明: 字段 允许值 允许的特殊字符 秒 0 - 59 , - * / 分 0 - 59 , - * / 小时 0 - 23 , - * / 日期 1 - 31 , - * ? / L W C 月份 1 - 12 或者 JAN-DEC , - * / 星期 1 - 7 或者 SUN-SA... 阅读全文
posted @ 2009-03-27 11:30 sky100 阅读(422) 评论(0) 推荐(0)
java string 中的split方法 注意一个细节小点
摘要:以前一直认为String的split方法是直接按照给定的字符串对字符串进行拆分,例如 String value = "a,b,c,d,e"; String[] names = value.split(","); for(int i=0,n=names.length;i<n;i++) { System.out.println(names[i]); } 运行结果: a b c ... 阅读全文
posted @ 2009-03-26 18:27 sky100 阅读(299) 评论(0) 推荐(0)
贡献一个经典-MyEclipse6.0注册码算法代码
摘要:如果透露这段代码的不是myeclipse的开发人员,那就特牛了 import java.io.*; /** * MyEclipse6.0 Register Code * @author 匿名 * */ public class KeyGenerator { private static final String LL = "Decompiling this copyrighted s... 阅读全文
posted @ 2008-09-01 13:13 sky100 阅读(1013) 评论(3) 推荐(0)
CVS的常用命令速查手册(二)
摘要:CVS的常用命令速查手册(二) CVSWEB:提高文件浏览效率 ======================= CVSWEB就是CVS的WEB界面,可以大大提高程序员定位修改的效率: 使用的样例可以看:http://www.freebsd.org/cgi/cvsweb.cgi CVSWEB的下载:CVSWEB从最初的版本已经演化出很多功能界面更丰富的版本,这个是我个人感觉安装设置比较方便的: h... 阅读全文
posted @ 2008-09-01 13:12 sky100 阅读(297) 评论(0) 推荐(0)
CVS的常用命令速查手册(一)
摘要:CVS的常用命令速查手册(一) CVS的常用命令速查手册 2004-04-23 15:18 pm 作者:车东 chedong@bigfoot.com 来自:Linux知识宝库 现载:http://www.douzhe.com/linuxtips/1489.html 地址:无名 http://www.chedong.com/tech/cvs_card.html 作者: 车东 chedong@big... 阅读全文
posted @ 2008-09-01 13:11 sky100 阅读(190) 评论(0) 推荐(0)