arraylist (RSS)

[Original] jstl string to the weight, simple and convenient

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

java regular expressions to achieve

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

Nothing to write a file to determine the same java program segment

JDBC template class (version 1.2)

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

Set-LinkedList and ArrayList Summary

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

Upload file type validation tools

1, define the legitimate file type configuration file allowuploadfiletype.properties 2, verification tools (from the configuration file to read file types can be uploaded)

Cascade 2 dwr

<% @ Page contentType = "text / html; charset = utf-8"%> < % @ page import = "java.util.ArrayList"%> < % @ page import = "bean.CategoryBean"%> < % @ ...

Iterator (Iterator)

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

Dwr done using a linkage function

Use ajax to do the dwr example of a functional linkage java method returns the list, list which is the entity

Hibernate in SchemaExport, SchemaUpdate source code analysis tools

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

Hibernate in the source code analysis tools SchemaUpdate

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

JS get session value in the mass of the object from

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

Programmable configuration Hibernate3.3.0GA

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 + json + jquery examples

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拾遗补缺array of articles (a)

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

DWR + Ext load data

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)

The operation of the database my base class (HIBERNATE)

Hibernate + Struts (Iterator)

try ( Session session = HibernateUtil.getSessionFactory (). GetCurrentSession (); Transaction tx = session.beginTransaction (); Query query = session.createQuery ( "from Log"); List list = n ...

java batch processing

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

java

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

javascript regular expressions Basic Usage

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

Hibernate II Study Notes

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