1, Get used to get the data from the server, while the Post is used to pass data to the server. 2, Get the data in accordance with the form variable = value form, added to the action by pointing to th ...
amp (RSS)
The first step: in the class path following the establishment of a META-INF folder, and note that this name must not be arbitrarily changed, and then the establishment of a persistence.xml file, confi ...
A first integrated spring2.5 + jpa1.0, scanning plus explanatory notes to speed up the development pace, SessionFactory to create the required a longer time, use the Singleton pattern. Affairs managem ...
To find a job interviews, have an interview there are ways to deal with the interview. Following some of the topics from me and my friend's painful interview experience, mention of these issues in ...
Note: I only statistics I used. . . The most important thing is that I just told you, I can not do the other! ! ! We want to help . . . . . 1, Jbuilder, this should be a lot of people have used, and n ...
1, in the under linux To delete these directories is very simple, the command is as follows find.-type d-name ". svn" | xargs rm-rf Either find.-type d-iname ". svn"-exec rm-rf () ...
This code is to find the current array, and whether the exclusion of the array, in fact nothing more than the business loop through two arrays to see if there is not the same content, but the original ...
Today, due to the need for the project must be spring the way through jdbc to read and update the clob types of data, just the beginning, I get a data connection directly through the spring and then u ...
Recently have been used to image compression processing, as in the previous processing using Java, in the case of low pixels, Java is indeed very poor effect of treatment, and then tried to use the fr ...
Today, doing so on a set of iteration when the judge and delete the existing object such as the question of when the error reported Before the change: the Changes Later, the information on the Interne ...
When the query data needs two or more tables associated with the table when the query results, you can use a query as follows: getSession (). createQuery ( "select new map (pm.name as name1, pm.s ...
First of all you have to ensure that the character of Mssql is correct, If your database uses utf8 encoding at Hibernate then your url should be in jdbc: mysql: / / localhost: 3306/test? useUnicode = ...
Simple to verify: <form name="myform"> User Name: <input type="text" name="username"/> <br /> Password: <input type="password" name="p ...
Operating Environment: Aix + WebSphere 6.1 + Oracle + Quartz1.65 + Sping2.5.6 + Hibernate 3.3.1 Phenomenon: Node & Server of WebSphere hanging dead, JVM stack overflow, WebSphere district where th ...
FCKeditor is a specialized use of the website are open source WYSIWYG text editor. Chi in the light of its need for the installation steps too complicated to use. It can and PHP, JavaScript, ASP, ASP. ...
This is some of the past few days to learn the package Ajax
0.5.1 the latest version of fckeditor http://rubyforge.org/frs/?group_id=2038&release_id=23116 The following plugins are copied to the implementation of rake fckeditor: install After the success o ...
jquery code: Extjs code: Note: jQuery whether or not to send Extjs custom HTTP information, because they are dynamically generated through labeling <scripe> ways to achieve cross-domain access!
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 ...
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. . . . ...
Book gives an example: Quote http://www.flickr.com/services/rest?api_key=xxx&method=flickr.photos.search&tags=penguin Although the URI contains "rest" the words, but it is clear that ...
1 require 'open-uri' 2 require 'net / http' 3 require 'iconv' 4 require 'uri' 5 6 src1_file = "place_file.txt" 7 src2_file = "things_file.txt" 8 sav ...
Objective: To refresh the page to complete the form is not submitted and dynamic verification Methods: In the form page after clicking submit on the current page using AJAX to submit form data via a p ...
javascript in the escape, encodeURI the difference? javascript in the escape, encodeURI the difference? js code to the text involves three functions: escape, encodeURI, encodeURIComponent, the corresp ...
Ajax synchronous and asynchronous transmission
Its verification, including: IP, domain name (domain), ftp Two domain names, domain name of the document, together with the port name. <script language="JavaScript"> <! -- function ...
Long time no javascript regular expressions used, and today a number of projects needed to meet the authentication problem is a long time to forget a lot of really useless things. Placed on a validati ...
Its verification, including: IP, domain name (domain), ftp Two domain names, domain name of the document, together with the port name. <script language="JavaScript"> <! -- function ...
In the Hibernate configuration file to add the following code: <property name="hibernate.query.factory_class"> org.hibernate.hql.classic.ClassicQueryTranslatorFactory </ property> ...
Abnormal: org.hibernate.LazyInitializationException: could not initialize proxy - no Session Reasons: hibernate3 many-to-one option is the default lazy = "proxy" Solution: <many-to-one> ...
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 ...
Computer does not care about long books, for two reasons: 1, the area of the new book has been a long time in theory, no, say some techniques are 2, with the current work has little to do with Impulse ...
Ruby wrote a sns of the spider to expand connections to the school as an example: Sleep, and tomorrow morning to see what gains ~
A comparison statement Most other languages, here the attention of <=> Comparison is mainly used to determine the return to true, & & and, | | or Second, the conditions of modification o ...
ajax request with a url address, url address if the cache has not changed and there will be direct to the value, the server will then not be requested. This situation will be different in different ma ...
ajax request with a url address, url address if the cache has not changed and there will be direct to the value, the server will then not be requested. This situation will be different in different ma ...
parseFloat to convert floating-point numbers Integer parseInt convert. These two functions are some of the fault-tolerant, such as "123abc" will become 123. If the landlord would like to kno ...
On the Web to find the paperclip on the plug-in, found by they said, there is no set size effects, was found to need to install an image-editing software do: ImageMagick Introduce the following simple ...
The process of development, will inevitably be used to determine the version of the browser, usually we use the following Javascript to achieve, but also with reference to articles JE JS to determine ...
via: http://www.letrails.cn/archives/ruby-metaclass-tutorials Ruby Metaprogramming If you are a novice, then the following code may help you to find that feeling: Puzzled? It does not matter, save the ...
http://blog.sina.com.cn/s/blog_44749c5a0100b88r.html Method One: Method Two:
This program demonstrated the basic ajax functions: 1 xml result set to return to the page Another two pages show the current page 3 shows a string to the page ajax.js the core method for ajax AjaxAct ...
appcationContext.xml <beans> <bean class = "org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName"> <value> com.mysql.jdbc.Driver </ ...
js Chuan Participation
First, the use of global variables <br /> This is the most simple way, such as Google Adsense: Code <script type="text/javascript"> google_ad_client = 'pub-3741595817388494 ...
1. Page function newXMLHttpRequest () ( var xmlreq = false; if (window.XMLHttpRequest) ( xmlreq = new XMLHttpRequest (); ) Else if (window.ActiveXObject) ( try ( xmlreq = new ActiveXObject ( "Msx ...
For such a long time with the hibernate / spring, if not today findByExample methods used until now do not know findByExample mechanism. Ashamed This time the SQL conditions are as follows: findByExam ...
[Accordance with the recommendations of FX, officially named operator for the fish bones,> -> tail fish bone, | -> for bluegill bone] Ruby 1.9 has a change: lambda acceptable proc. In light o ...
First, create the XMLHttpRequest object, we can then, through its properties and methods of sending and processing of HTTP request, send the request and response dealing with the general steps are as ...
static javascript page of the three methods of value 2008-06-08 10:31 A: JavaScript delivery of static pages URL value can have URL for articles by value. To take the message to the URL on. Post.htm C ...







