attribute (RSS)

Grails development project from scratch 4

i18n mechanism Grails provides a sound i18n mechanism, specific documentation to see if / grails-app/i18n directory will understand. The default will be generated in various languages of the propertie ...

JSF due to be rendered property value for the null result in a solution

Some time ago following problems encountered with the JSF. Problem Miao Xu: Page has a radio control (h: selectOneRadio) to add ajax support (a4j: support event = "onclick" reRender ="& ...

Extended ApacheCommos of DbUtils

The DbUtils is a simple ApacheCommos easy to use lightweight tools for database operations, the project's home page is: http://commons.apache.org/dbutils/, information about it can get from there. ...

Struts2 in the use of DMI

Struts2 in Action class can be placed in multiple methods and struts.xml configured for the page is called. As long as the approach is consistent with execute () method of the standard that the return ...

JForum source code analysis notes

My development environment: JForum2.1.8 tomcat5.X JDK 1.6X Routines can not be refined in order to start. From the beginning web.xml web.xml includes a filter, a listener, and two servlet, not much co ...

On the struts-config.xml file

<? xml version = "1.0" encoding = "ISO-8859-1"?> <! DOCTYPE struts-config PUBLIC "- / / Apache Software Foundation / / DTD Struts Configuration 1.3 / / EN" " ...

struts to prevent the duplication of submission of the form

1. What is the repetition of the form submission? Premise: in the controller in the form of the corresponding page, rather than forwarding the page redirects. 1). Refreshing, if the form page, and the ...

DispatchAction and the usage and the difference between MappingDispatchAction

DispatchAction use: Page has the following four requests: <html:link action="/user.do?method=add"> add a new user </ html: link> <br> <html:link action="/user.do?me ...

A multi-threaded note

A direct successor to thread class, override the RUN method, when the call starts with the start (); package com.Thread; class MyThread extends Thread (/ / inherit Thread class, as the thread implemen ...

JS refresh iframe method to achieve

<iframe src="1.htm" name="ifrmname"> </ iframe> Program I: The name attribute with iframe positioning <input type = "button" name = "Button" valu ...

An hour to get Ajax

An hour to get Ajax, serious proposals reference manual xmlhttp legendary Ajax, entry is easy. Of course, something deeper than the understanding of their principles, learn more quickly. Principle: UI ...

Acquaintance Hibernate (1)

Three months to write a C / C + + finally returned to the Java I love the ~ ~ originally wanted to continue to study the JSP ^ ^ But a friend recently asked me to help him make a final examination of ...

Hibernate correctly understand the inverse

In hibernate through the inverse of the settings to determine who is the maintenance of tables and table relations between the A friend of mine recently asked me to delete many-to-many hibernate on th ...

attribute table hibernate

Property name Use hibernate.dialect Class name of a Hibernate Dialect allows Hibernate-specific relational database optimized to generate SQL. Value full.classname.of.Dialect hibernate.show_sql eg. tr ...

Cross-border visit DWR

In some cases, you may need to DWR client machine and deploy to other machines from the remote access services to DWR. For example, we have a Library App to use the DWR, but need to support cross-doma ...

Hibernate mode retrieval of QBC

Hibernate has been used to the HQL query, that has been very convenient program for the recent emergence of the QBC (org.hibernate.Criteria interface) is also a look at the psychological, because it i ...

Javascript Construction category

This article is reproduced in: http://ttitfly.javaeye.com/blog/193663 Construction of javascript in 4 major ways 1. Tectonic defined category 2. Prototype defined category 3. A combination of structur ...

dwr learning

util.js contains some useful function function, used to call on the client page, which can and dwr separate, independent business for your system. Main function is as follows: 1, $ () access to the pa ...

Hibernate understand the inverse! Many-to-many

Inverse two-way relationship is hibernate in the basic concepts of, of course, for most entities, we do not require two-way link, more one-way correlation may choose Moreover, most of us are generally ...

Hibernate understanding the inverse! Many-to-many

Inverse two-way relationship is hibernate in the basic concept, of course, for most entities, we do not need two-way link, more likely to choose a one-way link, and we generally use the majority of pe ...

hibernate properties in the meaning of generator

1, identity: for MySql database. Characteristics: increased <id name="id" column="id"> <generator/> </ id> Note: For MySql database using increasing sequence requ ...

How to use hibernate the event / eventlistener

http://blog.csdn.net/guosydragon/archive/2007/04/15/1565742.aspx recently learned here, a little gain, try out their own, out to show one's inadequacy, but there is help for beginners, after all, ...

Study Notes hibernate mapping set 10 ---

1, set As already introduced the use of set, there is only one element brief elements: If the one-to-many multi-table in the small field, you can establish a mapping file do not have a separate, more ...

Javascript debugging tool: Firebug explain the use of (Lower)

<!--[ if! supportLists] -> 8, <!--[ endif] -> view the DOM structure Functional area will be the second line of the label to switch to the "DOM" I can see the level of the DOM st ...

From shallow to deep understanding of JavaScript category

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ...

Javascript on the fourth day

Articles about the js variables, expressions, and operators there are some js statement. This chapter we explore the js array of objects and. Oh more difficult. It was prepared to do a good job. . . . ...

WebWork and DWR integration

WebWork / Struts 2 DWR also provided with OpenSymphony ( www.opensymphony.com / webwork ) Framework developed by the integrated WebWork. With this support, you can remotely access their own WebWork Ac ...

js understanding of the prototype

<script> function Point (x, y) ( var position; / / using the var statement is the private property of this.x = x; / / use this. are public properties and methods of this.y = y;) var p1 = new Poi ...

js document query

document text block object - JavaScript scripting language to describe -------------------------------------------------- ------------------- Note: The page name attributes and JavaScript elements cit ...

javascript field validation page hibernate mapping file length field limit the problem of length

var danger = document.getElementById ( "domain.dangerAndMeasure"). value; if (danger.length> 500) ( alert ( "Construction of the danger point and the length of the corresponding meas ...

Hibernate Database template base class GenericDao

/ / Use of designated entities and attributes (non-primary key) search (to meet the entity attribute value like string) data public List findLikeByEntity (T entity, String [] propertyNames); / / Use t ...

CSS Notes

A: How to jsp page in the introduction of css style sheet file? 1, first of all to write the contents of the css style sheet format saved as *. css. If style.css 2, in the introduction page of the css ...

JDBC package (c)

1. How to design a VO Scenes such as the JDBC package (a), the relationship between objects contained by including the target to achieve. 2. How to design database tools DBUtil The use of JDBC package ...

JBoss EJB 3.0 Chapter X: Transfer of communication encryption

JBoss EJB3.0 RC6-PFD http://www.jboss.org/jbossejb3/docs/reference/build/reference/en/html/index.html 10 transmission This explains how and EJB3 client communication between the container and how to s ...

mysql spring blob

In the use of struts + spring + hibernate of development, sometimes the user will be the demand for database files stored in the database would generally be applied Blob or Clob fields binary field to ...

js package music player (IE, FF)

IE only support continuous playback, FF can not play continuously under <! DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.0 Transitional / / EN"> <HTML> <HEAD> <TITLE> ...

ActiveRecord objects with the use of jQuery to create jquery.form.js

ActiveRecord objects with the use of jQuery to create jquery.form.js Part of the code, the original look http://malsup.com/jquery/form/ # getting-started

Hibernate.initialize (Object obj)

On lazy (lazy) and forced to load (Hibernate.initialize (Object proxy)), etc. Sustained in the use of hibernate when it is sometimes necessary to change the dynamic loading of objects, such as in the ...

JS package or object type of the best programs

JS package or object type of the best programs The advantages of object-oriented is one of the powerful ability to create their own special class or object, package a group of properties and behavior. ...

Hibernate lazy loading mechanism

Lazy loading: Lazy loading mechanism is in order to avoid unnecessary performance overhead and put forward the so-called lazy loading is that when data in the real needs when we come to the real imple ...

Guinness JQuery method

Dom: Attribute: $ ( "p"). addClass (css style defined type); to add an element of style $ ( "img"). attr ((src: "test.jpg", alt: "test Image")); to add an eleme ...

js implementation of the order of

Javascript to load the page at the time of the implementation of the order of First, embedded in the HTML method Javasript Directly in the Javascript code on the tag on the <script> and </ sc ...

difference between ie and firefox js points

Although the use of JavaScript in history is long and annoying to the subject of a specific block of time the browser has come to an end, but the occasional use of some simple code block and object de ...

Between FF and IE differences 7 JavaScript

Although the use of JavaScript in history is long and annoying to the subject of a specific block of time the browser has come to an end, but the occasional use of some simple code block and object de ...

Hibernate Study Notes (d)

Experience: A, hibernate always concern only one attribute, rather than the database table. That is why inverse property is not on when more than one Item, the database is updated by the Bid on behalf ...

JSR 303 bean validation is finally out ....

JSR303 is finally out, which is dominated by hibernate, hibernate annotation in the past, now independent, and is expected to enter the Java7 (2010), after the swing / web development standards finall ...

Css application of expression

IE support CSS太烂really is, when big brother when used, and its own rules and regulations do not act in accordance with the W3C, the results on the plight of our development group. The basis of his sho ...

JavaScript: The Good Parts Reading Notes (2)

Nothing in Chapter 2, Chapter III of the next object literal speaker also prototyep, not too many basic content of the book are mentioned rhinoceros, but a small detail that: We generally object to cr ...

js get to choose the value of the future

First, access the drop-down list to select items of value and text (select) Select.htm sample code is as follows: ================================================== =========================== <htm ...

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, ...