自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 有用的网站

http://www.reddit.com/r/programminghttp://www.dzone.com/http://www.sitepoint.com/https://news.ycombinator.com/http://www.codeproject.com/

2016-04-11 20:28:08 167

java.sql.SQLException: Incorrect arguments to mysql_stmt_execute

在执行Testcase的时候,出现了java.sql.SQLException: Incorrect arguments to mysql_stmt_execute错误。最后查到是因为 JDBC Connection url 少加了useServerPrepStmts=false 参数,然后从网上找到 这个参数的说明:[quote]Server-side Prepared Statements...

2010-04-23 17:11:07 1390

原创 testng

FAILED CONFIGURATION: @BeforeSuite startSeamjava.lang.RuntimeException: Unable to bootstrap: at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:147) at org.jboss.embedded.Bootstrap.boo...

2009-08-10 19:01:55 194

原创 demo url

[code="java"][/code]http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf?s=glassX[code="java"] function printObjectsSelected(output, sgcomponent){ ...

2009-03-13 23:45:09 394

有用的链接

richfaces:http://www.jboss.org/index.html?module=bb&op=viewtopic&t=104575sso:http://hi.baidu.com/fallenlord/blog/item/b031e83e87159cca7c1e7127.html

2009-02-24 23:10:01 157

原创 richfaces suggestionBox

[code="java"] ...

2009-02-24 21:54:35 233

原创 jboss portlet bridge patch

patch

2009-02-17 23:39:30 126

原创 seam portlet

RichFaces Portlet DevelopmentWhen making an AJAX request from a portlet, it's important to know the differences between the portlet and servlet sessions. For instance, when a user makes an AJAX re...

2009-02-17 23:23:15 165

原创 richfaces

cdk pdf

2009-02-17 22:55:07 164

原创 配置说明

http://www.mail-archive.com/dev@struts.apache.org/msg29044.html

2009-01-04 22:44:47 141

原创 Client 连接 EJB 报错信息 之二

[code="java"] Branch oldbranch = manager.find(Branch.class, oldBranchId); Branch newbranch = manager.find(Branch.class, newBranchId); User user = manager.find(User.class, userID); tr...

2008-10-19 10:23:29 195

Client 连接 EJB 报错信息

[code="java"]org.springframework.jndi.JndiLookupFailureException: JndiObjectTargetSource failed to obtain new target object; nested exception is javax.naming.CommunicationException [Root exception is ...

2008-10-15 16:36:05 431

原创 richfaces-demo

http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf?c=dropDownMenu&tab=usage

2008-09-27 23:14:06 186

原创 native2ascii

The Java compiler and other Java tools can only process files which contain Latin-1 and/or Unicode-encoded (\udddd notation) characters. native2ascii converts files which contain other character encod...

2008-07-29 15:07:13 160

原创 java proxy

3.5. Configuring proxy settingsThere are a couple of scenarios where you will need your proxy to be correctly defined at the JVM level so that youcan access documents from Internet. It could be to...

2008-07-24 09:48:49 256

原创 jboss portal source code

If you'd like to checkout specific module, do:TAGSsvn co https://svn.jboss.org/repos/portal/modules/module_you_want/tags/tag_you_want or svn co http://anonsvn.jboss.org/repos/portal/modules/...

2008-07-24 09:35:05 160

原创 iframe session timeout

[code="java"] if (top!= self) if (location) top.location.replace(self.location.href); else top.document.location.replace(self.document.location.href); [/code]

2008-07-13 18:12:13 176

原创 ifame 去滚动条

[code="java"] function changeframe() { var workspace = document.getElementById('workspace'); var navigator = getOs();//让滚动条回到页面上方。 (document.documentElement && document.documentEl...

2008-07-13 17:46:29 186

原创 firefox 3 add-on

http://blog.istef.info/2008/07/08/my-firefox3-addons/http://www.sanliangfan.com/archives/410.html

2008-07-13 00:24:40 239

jboss issue

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116994

2008-06-26 20:13:45 127

jboss portal module

portal-server.war is the implementation of the portal container based on the HTTPServlet.portal-core.war is the default portal application.

2008-05-24 21:05:24 131

acegi 之 FilterInvocationDefinitionSourceEditor

引用自 http://www.iteye.com/post/475224Spring Reference Guide states:Quote: Spring uses the java.beans.PropertyEditorManager to set the search-path for property editors that might ben...

2008-05-18 00:10:37 175

portal

package com.phoenix.demoweb.util.web.interceptor;import java.io.IOException;import java.util.List;import javax.servlet.Filter;import javax.servlet.FilterChain;import javax.servlet.FilterConfig;impor...

2008-05-16 18:20:40 126

jboss portal

sdsdsd

2008-05-09 17:10:15 135

acegi link

http://hotpepper.iteye.com/blog/141048http://wiki.jboss.org/wiki/AcegiPortletSupport

2008-04-30 18:03:42 170

PPT网站

1PPT:http://www.1ppt.com/论文、课件、教案一应俱全。PPT资源之家:http://ppthome.net/模板、资源、素材、教程完全免费下载。扑奔PPT:http://www.pooban.com/PPT资源比较完善。PPT学习网:http:/...

2008-04-23 21:39:50 269

AvoidMySQL5DataTruncationErrors

MySQL 5 can run in strict mode, which causes errors to be thrown instead of warnings when data truncation occurs (see mysql bug 14048).Errors may look similar to this:11:16:36,520 ERROR JDBCEx...

2008-04-23 21:39:01 117

IllegalArgumentException

错误java 代码  if (status != null) {       detachedCriteria.add(Restrictions.eq("o.status", status.getId()));   }  正确java 代码  if (status != null) {       detachedCriteria.a...

2007-11-15 13:31:55 306

IllegalArgumentException occurred calling getter of *

从别处copy过来的,和我的错一样java 代码  I have a basic model called "Group" which has a name, a reference to its parent (which is also a Group) and a collection of its children (which are Groups).  I've def...

2007-11-15 13:27:06 835

getOutputStream() has already been called for this response

在JEEE开发文件下载中。有时候看到:java 代码  严重: Servlet.service() for servlet jsp threw exception   java.lang.IllegalStateException: getOutputStream() has already been called for this response       a...

2007-11-08 17:28:00 143

javascript 页面元素导航

    //找parent.parent.parentwindow.parent.parent.parent.document.getElementById("hiddenBtn").value="隐藏列表";         window.parent.parent.document.getElementById("trackListTable").style.display="block"...

2007-06-21 11:09:31 184

hibernate 源码学习 多出来的update语句 之一

xml 代码 <class name="A" entity-name="A" table="aaa">                <id name="id">           <generator class="native"/>       id>   部分,

2007-01-26 13:31:00 228

defalut entityname

[code] String entityName = node.attributeValue( "entity-name" ); if ( entityName == null ) entityName = getClassName( node.attribute("name"), mappings ); if ( entityName==null ) { throw n...

2006-11-11 18:07:13 205

在spring配置多个hibernate.cfg.xml

说:在Hibernate-content.xml中 说: 说:classpath:hibernate.cfg.xml 说:如果我有新的 hibernate.cfg.xml 如果加入到这里来 说:我试了用逗号分割,不可以的 说:我的配置是classpath:hibernate.cfg.xml,classpath:xxxx.cfg.x...

2006-11-02 11:12:23 282

org.hibernate.tuple.Tuplizer是用来干什么的?

[code] * A tuplizer defines the contract for things which know how to manage * a particular representation of a piece of data, given that * representation's {@link org.hibernate.EntityMode} (the...

2006-11-01 22:06:15 263

hsqldb

[code] String driver = "org.hsqldb.jdbcDriver"; String connectString = "jdbc:hsqldb:hsql://localhost"; String user = "sa"; String password = "";[/code]

2006-10-13 11:29:19 100

struts的消息处理

[code]public class ActionException extends RuntimeException{ private ActionMessage actionMessage; public ActionException(String key) { actionMessage = new ActionMessa...

2006-10-10 14:00:49 147

设置默认选项

[code] function setDefaultExportType(){ if (reportDetail.exportType.length) { reportDetail.exportType[0].checked=true } else { reportDetail.exportType.checked=true ...

2006-10-10 10:01:47 216

为什么不能submit

在做的项目是从webwork转成struts的,同时有些思路和我以前做的不太一样。所以[code="java"] String submitOkStr = request.getParameter("submitOk");; boolean submitOk = false; if (submitOkStr != null); submitOk = true; ...

2006-09-08 10:28:57 177

java.lang.ClassCastException: org.jboss.logging.appender.Dai

One way to solve the classloader issue is by reverting the JBoss configuration to the old classloading model.Edit the file <jboss>/server/default/jbossweb-tomcat55.sar/META-INF/jboss-service.x...

2006-08-18 17:09:43 435

空空如也

空空如也

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

TA关注的人

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