doctype (RSS)

Spring application of Hibernate second-level cache configuration

The first step: In the Spring configuration file by adding the following, with corresponding parameter changes, the red part is the statement using the Hibernate second-level cache, the first one to d ...

struts2 validation framework for configuration

It took a long time, and finally somehow, in this contempt for all kinds of mess of assorted forums, found the article a lot, not a few original, are in turn change the past, and many of the steps are ...

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

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

iBATIS3.0 learning (2) the use iBATIS3.0 annotations to complete a simple database operations

Check the completion of additions and deletions to change the use of iBATIS3.0 iBATIS3.0 has also increased some simple annotations, iBATIS3 annotations can only complete a few simple operations, to c ...

iBATIS3.0 learning (1) The use of iBATIS3.0 check the completion of additions and deletions to change

Check the completion of additions and deletions to change the use of iBATIS3.0 iBATIS3.0 and previous versions there are some changes, but learned the previous version of re-learning 3.0 should not be ...

JavaScript development tools collection (b)

2. StringBuffer copying method Description: This method is a Java class in a StringBuffer to imitate, not the efficiency of Java could, but for string assembly, but is a good tool to approach Use are ...

Basic configuration of DWR

1. DWR is very easy to use, the first of its official website (www.directwebremoting.org) Download dwr.jar, the latest version of the current is 3.rc1 2. Dwr.jar to download on the project WEB-INF \ l ...

Examples of entry-dwr

1. To create web project 2. Dwr.jar packages web projects Add / WEB-INF/lib directory 3. Web.xml add the following code 4. Service.java the creation of categories, as follows 5. Dwr.xml Add to add the ...

Notes dwr.xml of learning dwr

dwr.xml is used to configure your DWR document, the default is to put WEB-INF folder. Create a document dwr.xml dwr.xml the following structure: <? xml version = "1.0" encoding = "UT ...

Ajax dynamic loading tree menu

Recently, the company requires a dynamic loading of the tree menu, first open the page when loading the first level node, point to the first floor with Ajax after any node to the node under the dynami ...

ajax get request parameters Chinese garbled solution

Prospects: 1, regist.jsp 2, ajax.js Background: 1, AjaxDemoAction.java (used DispatchAction) 2, EncodeUtil.java (transcoding type)

Struts2 configuration and sitemesh

Integration of the Spring / Webwork / Sitemesh / FreeMarker configuration related web.xml need to configure the three filter, which filter the order of 3 can not be reversed, must be in accordance wit ...

JSON example (AJAX + STRUTS)

Some time ago to do a project using json, I take the time to write a struts + ajax + json examples. Ajax + json personal feel to a large extent reduces network and server IO, is a very good combinatio ...

JS achieve a simple page Print

JS achieve a simple page Print

js and the nextSibling node brothers previousSibling

nextSibling: Node made a brother; previousSibling: made a brother node;

Topsy Ajax Six: Ajax user login

This will be the production of the reader to start from scratch with a AJAX Login DEMO, program features, business is very simple, so I do not need with you to explain things in this regard, we look a ...

So that IE and Firefox compatible CSS skills set

CSS browser compatibility of the people is a headache sometimes, perhaps when you learn the skills with which the principle is not difficult to feel, from the online collection of IE7, 6 and compatibi ...

The use of Middlegen-Hibernate-r5 error mapping file

Loom as a result of their reverse engineering MyEclispe on the database table to the hibernate mapping file can not be used. Therefore, use an external tool Middlegen-Hibernate-r5 to carry out the con ...

Modify the use of Javascript client registry (IE effectively)

ActivexObject generated by javascript to modify the client registry, but only in ie effectively The following is a javascript to modify the registry through the windows Task Manager to disable the exa ...

composite primary key hibernate mapping of an example

MealfeeDetail.hbm.xml MealfeeDetail.java Database table fields:

Hibernate stored procedure call

hibernate call stored procedure mysql5.0 key code: Database stored procedure Create procedure SP_get_UserInfo () as begin select * from user order by Id end corresponding to the hibernate configuratio ...

JDBC package (b)

1. How to design a VO Scenes such as the JDBC package (a), what fields the table, VO in any field there, the key is how to design the relationship between employees and departments such as the 1 on th ...

Use jetty, groovy Embedded web container example

Sometimes, I need a simple web can no longer be a simple application, I usually use this time to achieve a jetty embedded web container, to write a bat, a mouse click will be able to run up points. Di ...

javascript to format date

JS string in the date and the conversion between Which RegExp. $ 1, said the first match of the results of Group 1, the regular expression in a number of years in order to () grouped useful

Rails use to determine the version of browser

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

Configuration Hibernate.cfg.xml

Configuration Hibernate.cfg.xml

css drop-down menu.

css drop-down menu.

Struts2 with Ajax

Struts and Struts2 compared to a major improvement is support for Ajax. In this paper, look at the Div in Struts2 is how Ajax used to output the results, the main use of the Dojo. First of all, we fir ...

. Net AJAX Application Example

First, to http://ajaxpro.codeplex.com/ website. Net Ajax development kit, if your project is. NET2.0 and the package will be developed AjaxPro.2.dll test this DLL file to your Bin of the following Sec ...

Examples of collection hibernate mapping

<? xml version = "1.0" encoding = "utf-8"?> <! DOCTYPE hibernate-mapping PUBLIC "- / / Hibernate / Hibernate Mapping DTD 3.0 / / EN" "http://hibernate.sourc ...

spring, struts2, hibernate integration

Three configuration files: strtus.xml web.xml applicationContext.xml LoginAction.java PeopleDao.java PeopleDaoImpl.java There are domain: Test ok!

Cart combat II: entity class and the hibernate configuration file

1. According to the above four tables set up, we Mr. category into four entities, namely: Account, Order, Item, Product Account as a result we will be in the city and the street into an abstract entit ...

hibernate.cfg.xml

<? xml version ='1 .0 'encoding =' UTF-8 '?> <! DOCTYPE hibernate-configuration PUBLIC "- / / Hibernate / Hibernate Configuration DTD 3.0 / / EN" "http://hibern ...

js validate or the full-width half-angle

js validate or the full-width half-angle

Ajax is simple and practical framework of DWR

1. First of all, on the site to download the relevant jar package, dwr.jar, the jar package on the project under the lib directory 2. Write dao, service dao methods: / * * Based on the information sto ...

javascript to control the number of characters textarea

The following simple example using the model with js control the number of characters in textarea; ====== Example 1 ====== Usage: js the textcontrol (taId, maxSize) method to accept two parameters: * ...

DWR Review

1. DWR development steps: The introduction of dwr.jar package (the latest is 2.0): Web.xml configuration file, by adding the following code: WEB-INF file dwr.xml create The preparation of the script p ...

HTML in AJAX using jQuery imitation effect

IE7 and FF but not the same as in effect IE in effect: FF in effect:

Struts2 and Ajax - use Dojo and Div

Struts and Struts2 compared to a major improvement is support for Ajax. In this paper, look at the Div in Struts2 is how Ajax used to output the results, the main use of the Dojo. First of all, we fir ...

dwr configuration file dwr.xml祥解

I dwr Chinese document on a collation do dwr.xml purely jobs they take, there are useful do not forget to top friend you, leave a contact with the exchange of learning! Welcome to my site to exchange ...

js checkbox selected unlimited class

js checkbox selected unlimited class

Fuzzy Query js

Fuzzy Query js

Editor js_texteara

Editor js_texteara

Spring2.5 new features

Spring2.5 listed here, we only used the need to pay attention to new features, Source is the official Spring2.5 documents, documents have now that I am still here because the list is equivalent to a s ...

Contact DWR

Demand is very simple to use js to the back-end request, then request the results get put into a select inside. One start is to request xmlrequest a groovy back-end of the url, get a xml, and then fil ...

JavaScript html js java into the landing page displays the current user's IP areas, check IP network interface

Js interface with access to query the network ip address Jsp query interface with access to the network ip address Provide the network interface address: http://whois.pconline.com.cn/

ajax and js Quest Analog java implementation

Ajax in the U.S. has not used mock consider how easy the ajax request object XmlHttp the HA! Ha ha, ha us to simulate, it is the original teacher training to make students write the code, and now allo ...

JS achieve drag layer (compatible with most browsers)

Js drag a good layer code sharing up hair look.

WebService development examples (Xfire + Spring + Hibernate)

This article is taken from: http://blog.csdn.net/caok/archive/2008/12/29/3637734.aspx Please note that required download Xfire1.2.6, spring2.0, hibernate 3.0 libraries and related databases related to ...