`
xxj
  • 浏览: 434990 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
Don't repeat the DAO: http://www-128.ibm.com/developerworks/java/library/j-genericdao.html
http://feeds.feedburner.com/martinx
http://www.joshuamcharles.com/rails/fckeditor.html
http://delynnberry.com/pages/rails-chm-documentation/
在《Agile Web Development with Rails》中看到如下的一句话     If it has no associated data, it will come in as a GET request. If instead it contains form data, we’ll see a POST. Inside a Rails controller, the request information is available in the attribute request. We can check the request type using the me ...
在使用rails+mysql的时候遇到了中文乱码的问题,google了一下,解决了,把它贴出来,防止以后又忘记了首先在application.rb中增加utf-8的filter: class  ApplicationController  <  ActionController::Base  before_filter :configure_charsets       def  configure_charsets                @headers[ " Content- ...
http://pragmatically.net/articles/2006/05/11/ruby-on-rails-gaining-on-j2ee Ruby on Rails is rapidly gaining in popularity, at least if you believe in lies, damn lies, statistics and Google's new service, Google Trends. In the following image Ruby on Rails is the red line and J2EE ...
Programming Language Examples Alike Cookbook :http://pleac.sourceforge.net/
在google的搜索栏输入:                    Agile Web Development with Rails filetype:pdf今天无意中在道喜技术日记上看到的,试验了一样,真的不错,不用浪费时间:)
一直在寻找一个免费的bug trac的系统,可是总觉得不满意,最后还是做了最不厚道的事情,破解jira的License。和我以前提到的Confluence破解一样,这没有任何难度的事情,只是把classes反编译过来,修改一下。效果如下,License的类型为JIRA Enterprise: Commercial Server,就是自己感觉太不厚道了 Organisation ...
这东西搜索了半天才搞到,我安装的是3.2的,下面的序列号一样可以使用,共享一下,省得大家再去找了 install4j Enterprise Edition 3.1.3注册码、序列号、破解版、注册机 S/N: A-G42M#03948F-pzwgavu2ohmw#316        A-G42M#03948F-pzwgavu2ohmw#508 install4j Proffesional Edition 3.1.2注册码、序列号、破解版、注册机 S/N: A-G4iN#89756F-9qotdnr5rq9a#0015
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/fireevent.asp Fires a specified event on the object. Syntax bFired  =  object.fireEvent(sEvent [,oEventObject]) Parameters sEventRequired. String that specifies ...
RoomType和RoomState的主键是Integer,在get的时候忘记转换为Integer了:          this .getHibernateTemplate().execute( new  HibernateCallback() {             public  Object doInHibernate(Session session)  throws  HibernateException {                room.setType((RoomType) se ...
在resin和weblogic上跑的很好的程序,今天早上移植到JBoss上 ,页面跑到<ww:if处没法正常运行,报错,换成<c:if 就没有问题了.一大早的被郁闷了一下
感谢javaeye差沙和cac的回复. OpenSessionInView默认的FlushMode为 FlushMode.NEVER  可以采用在写保存更新删除代码的时候手动更改FlushMode        this.getHibernateTemplate().execute(new HibernateCallback() {             public Object doInHibernate(Session session) throws HibernateException {                 sess ...
Global site tag (gtag.js) - Google Analytics