blog (RSS)

javamail e-mail experience (order)

Recently doing a mail client for IMAP protocol QQ mailbox, so write down some experience to share with you, and there are many issues to discuss with you, hope that we can give some help, here is my b ...

Spring2.5 + Struts1.3.8 + JPA (Hibernate to achieve) the integration of three

Reprint please specify: from http://blog.csdn.net/M_ChangGong/ Author: Zhang Yan Kwong The preparation of the article the main entity bean and the DAO layer. Created in the src package com.zyg.ssj.bea ...

js control the html tag's attributes

today is Friday, June 22 2009. I got some knowledge about the html and js from my project.So I will write them in my blog, And some advice is expected! you can control the css style through the javasc ...

Embedded Jetty server easy tutorial

Introduction: the use of Maven私服artifactory structures, it was found that the use of the jetty as artifactory embedded middleware, with the memory database, the web will JEE applications like windows ...

Lighttpd + FastCGI + Ubuntu + Rails2.3 set record

BLOGSPOT at GOOGLE had to engage in a BLOG, toss a good few, BLOGSPOT be the result of the shield is !@#$%^%&^&^&& A lot of prior research related materials, a lot of summing up this s ...

Simple realization of the code is shaded site (JS)

Very simple web page to add the following code: <script type="text/javascript"> var ht = document.getElementsByTagName ( "html") [0]; ht.style.filter = "progid: DXImageT ...

Daily MLDN project development

Fat content of today or the挺多, a rare rest day, or really want to get more rest breaks, wash laundry, clean up the house to clean up, a lot of time in Beijing is the need to get their own, and have be ...

Quick InstantRails structures using Ruby On Rails development environment

Has been ruby on rails Have a lot of interest, would like to see a lot of people this was commendable, but I have been working on the development under the windows, for ruby on rails Structures or the ...

Examples of user registration ROR (b)

ROR examples of user registration (a) ... Rails plural rules Rails agreement ControllerName (URL) for the plural, TableName plural. Judging from the perceptual knowledge, Table plural that is, before ...

MLDN project development

Here do not know, if you wish, you can go to my blog to see the sina Plan tasks No task name of the task end date no later than the standard workload of the task completion status 1 to establish a dat ...

On Rails serialized attributes

Active Record has a serialized attributes, to speak briefly on the properties of something 1. To do with the The realization of sequence in the text field of the value of storage. That is, sequences, ...

Made not to use jquery plugin struts2 json return value, use the most primitive objects json acquire ajax

json the struts2 plugin json return value is an object, if the ajax with jquery method easily accessible, but others in the use of the control (non-use of jquery) or non-use of data jquery to operate, ...

Hibernate Session to be a stumbling一跤

The reasons for writing this blog is for questions and answers yesterday, I channel a problem, the problem is as follows: When the servlet to call the save method of DAO and submitted to the Panel, th ...

JUnit Test Notes

This article was first published at my own blog http://nijiaben058.jspkj.com Welcome to everyone, I hope my blog can help everyone, I will continue to update my blog, welcome everyone to give me valua ...

Rails to connect at the next SQL Server 2005 Pagination

For a Rails / SQLServer application I'm working on, I had to deal with pagination with custom queries because of the different joins. The mislav-will_paginate plugin works great for MySQL, but for ...

DWR understanding of DATA (or call back List.Set Ways Map of java)

Call Return List, Set or Map of the java method 1, dwr.xml configuration Configuration with 4.1 Note: If the List, Set or Map of the elements are simple types (including its package type) or String, D ...

Libmemcached the rails to do with cache store client

libmemcached is a C library based on the memcache client, ruby has a package: http://github.com/fauna/memcached/tree/master Rails 2.3.2 to take advantage of the own client the opportunity to compare p ...

Libmemcached to do with rails of the cache store client

libmemcached is a C library based on the memcache client, ruby has a package: http://github.com/fauna/memcached/tree/master Take advantage of the client comes with Rails 2.3.2 for performance comparis ...

Faile to deploy on the Tomcat with rails

So ... It's long time before I used this blog, and now, the engine rocks. Days ago, I've been searching how to deploy the jruby on rails On the Tomcat. But, the I failed. Here are the steps fo ...

Give ruby compilation inline implementation

Recently being considered to write a Ruby runtime bytecode generation expansion. JIT is more than the cow Oh. Principle: At call _asm call inside C Ideas: First, put the translation into binary string ...

window under the rails with postgresql connection error solution

This was supposed to go out last Saturday, but my blog took precedence. Oh, that, and Fable 2. Shh. If you've somehow found this post in search of an answer, I have nothing but a rant for you. If ...

Basic Auth HTTP Request in Ruby

At present the majority of domestic micro-Bo (mini blog) are open api HTTP Basic Access Authentication For authentication. Including rice not, sharawadgi askew, and even chat JavaEye. Twitter is now c ...

Welcome to the circle of ruby OFF rails

Address http://rubyoffrails.group.javaeye.com/ circle The circle is committed to introduce and discuss the world of Rails outside of Ruby Construction Web applications in other ways. At present, the m ...

Writing Medium servlet garbled when js

Reprint: http://hi.baidu.com/javajavajava/blog Plagued the js garbled for a few days, the help of colleagues at today finally solved it! Posted to share with everyone. Me this is a landing page, if yo ...

js access checkbox value

Reprint: http://hi.baidu.com/javajavajava/blog

javascript counter

Reprint: http://hi.baidu.com/javajavajava/blog

javascript learning object-oriented programming (basic)

-------------------------------------------------- ------------------------------- Copyright Note: This articles is to use <<JavaScript高级程序设计>> (Nicholas C. Zakas, and Cao Li, Zhang Xin, e ...

Rails January of dynamic

More than a month before, Rails 2.2.2 released at the same time, the official immediately issued a statement, saying that Rails 2.3 is under development. See the news, while lamenting on the Rails Cor ...

I heard good Ruby and Rails site

1. Ruby Inside is said to be the best news station, the subscriber number 16xxx [img] http://www.rubyinside.com/simg/logo.gif "alt =" [/ img] http://www.rubyinside.com/ 2. Rails Inside is al ...

Hibernate in the inverse and cascade

First of all, to quote another blog saying: 1.cascade ="..."? cascade is not a property of many-to-many relationship must have it just so that we insert or delete at the time like some more ...

To a generic hibernate example DAO

Reprint: http://blog.csdn.net/dingx