Recent projects using jstl tag front-end performance in dealing with the string to repeat, we can not use conventional thinking, the idea of changing species and found a very simple and efficient. Bel ...
arraylist (RSS)
Nepal may be encountered at work need to obtain one or a number of variables inside the http response, this time the role of regular expressions are embodied, and in general work, a lot of use to the ...
Nothing to write a file to determine the same java program segment
Version 1.2 added a new insertion method: / ** * In the Web development struts framework, number of pages of data are stored in the database will be packaged in a formbean object * In these data into ...
1. Both the UML inheritance diagram: 2. Both are implemented: ArrayList: Internal data access using the array to achieve RandomAccess interface, support for random access LinkedList: Internal use link ...
1, define the legitimate file type configuration file allowuploadfiletype.properties 2, verification tools (from the configuration file to read file types can be uploaded)
<% @ Page contentType = "text / html; charset = utf-8"%> < % @ page import = "java.util.ArrayList"%> < % @ page import = "bean.CategoryBean"%> < % @ ...
Iterator (Iterator) Iterative design is a model, it is an object, it can traverse and select the target sequence, and the developers do not need to understand the underlying structure of the sequence. ...
Use ajax to do the dwr example of a functional linkage java method returns the list, list which is the entity
package org.hibernate.tool.hbm2ddl; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.io.InputStrea ...
/ / Export the target application database package org.hibernate.tool.hbm2ddl; import java.io.FileInputStream; import java.io.FileWriter; import java.io.Writer; import java.sql.Connection; import java ...
For an object placed in the session scope, and in the JSP pages to extract into the session to the target in the process of development I want to do J2EE programmers are familiar with should be very s ...
1, create a new java project named Hibernate3.3Test2, add in the classpath hibernate core package, an essential package, and database-driven categories, namely: sqljdbc.jar (use is sql server2005), hi ...
struts2.1.X version of ajax theme has moved to dojo-plugin plug-in, usage has changed, according to online reviews of the ajax theme struts2 efficiency a bit low, do not recommend the use of the Inter ...
Js useless for a long time, I feel a little alienated, better recently read the book "javascript high-level programming," This time of the study and then js. Js here some points in common kn ...
First, at Ext directly using DWR 1, PoJO the Manager category 2, then directly call the DWR to obtain data (dwr.xml reference code behind) 3, where only one thing DWR, through the anonymous function w ...
The operation of the database my base class (HIBERNATE)
try ( Session session = HibernateUtil.getSessionFactory (). GetCurrentSession (); Transaction tx = session.beginTransaction (); Query query = session.createQuery ( "from Log"); List list = n ...
Received from the Excel data: package com.mobilecn.kys.export; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import jxl.Cell; import jxl.Sheet; im ...
Five useful filter 1, so that browser does not cache the page filters import javax.servlet .*; import javax.servlet.http.HttpServletResponse; import java.io.IOException; / ** * For the Browser does no ...
\ s: used to match a single address space, including the tab key and line breaks; \ S: In addition to a single space for the match at all outside of characters; \ d: for the match from 0-9 figures; \ ...
11. Many-to-many Of many that can be converted to two one-to-many many-to-many data only from one end of the maintenance, if at both ends of maintenance, will be reported to the conflict between form ...







