new date (RSS)

struts1.x tags

1, beanwrite label action in the scope of the request to set the following properties Back to the jsp page to display labels with beanwrite 2, logic tags (logical judgments) Back to jsp page tags to u ...

Image Cut

Upload pictures class Image processing class is used to cut pictures Cut and save images for the pictures

struts2 using kindeditor upload pictures (including jmagic compressed images)

Project uses a kindeditor3.4 UploadContentImgAction ImageUitl

cookies keep javascript operation (settings). read. delete function Detailed examples

Previously been thought to be generally carried out in the JavaScript operation COOKIES, but encountered today, it also made you, as a collection of it, the following are a few features of these were ...

small notebook hibernate search

Recently, the search needs to be done about the features, heard that before hibernate search, so decided to adopt this. To achieve the following functions in multi-domain keyword search, and id in ord ...

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

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

Javascript second day

1, the target with the conversion between basic types: No matter when, but the object is not empty, in the environment for Boolean true. Such as; new Boolean (false); new Number (0); new String (" ...

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

JavaScript regular expression

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

javascript calendar

javascript calendar

js create dynamic forms. DIV.遮照

js create dynamic forms. DIV.遮照

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

JS's eval () function

In the JSP, the box around to do a conversion function entry, the left and right, respectively, as a result of a number of box and the box is dynamically generated number, so the design to the box nam ...

ajax request the cache issues

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 the issue of cache

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

JS string to use to achieve the size of the date and method of comparison (with modifications)

http://blog.sina.com.cn/s/blog_44749c5a0100b88r.html Method One: Method Two:

The basic functions of a common source AJAX

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

How to get rid of JS bad connection string, I falling into the trap

A, ECMAScript string is immutable, that is, their value can not be changed, so when you write the following code does what when? Steps are as follows: Create storage "Hello" string Create st ...

JavaScript must understand the issue of the interview

1. JavaScript objects. Object in JavaScript is a set of data collection of key-value, somewhat similar to Java in the HashMap, all of these data is Object's property. Normally, JavaScript object u ...

Ajax_ Dynamic Update Web page

JSP part: <% @ Page language = "java" import = "java.util .*" pageEncoding = "gbk"%> <! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Strict / / EN" ...

dwr comet

dwr's Reverse Ajax, a new bottle wine, in fact, is the comet techniques, namely the server to the client push js code, a typical application scenario is to compare the current game machine live fi ...

Ajax the Clear Cache

The first is: in the Ajax to add the URL parameters "? Fresh =" + Math.random (); / / Of course, here the parameters can be obtained fresh The second: the parameters in the URL after "? ...

js display of dynamic time

function time () (/ / called when a page is loaded the function onload = "time ();" var timer = new Date (); var year = timer.getFullYear (); var month = timer.getMonth (); var date = timer. ...

Ajax Study Notes (d) server-side JSON

Article reprinted from: http://www.ibm.com/developerworks/cn/web/wa-ajaxintro11.html POST request using JSON data When the decision to use JSON data POST request sent to the server, does not require s ...

json2.js json.jar

json.jar this thing really hard to find, download available to everyone. And copied an example to study study. Examples of sources: "Ajax basic tutorial" Kim Ryong Translation, etc. This boo ...

IE8 than IE7 performance has improved, JS test results ...

Google Chrome has just released the first place when there is a lot of people use JS to test the performance of IE7 and Chrome. Has just released IE8, I used the same test code to run a little, test r ...

js javascript date select immediately put the number of days difference between the two dates shown, js calculating both the number of days between the date of

A calculation of the date of the bad js Do not need the code below press the button, select the two text boxes of the time will automatically calculate time, automatic calculation of the time code at ...

javascript examples cookie management

<script> / / Write cookies function Author:翟振凯 function SetCookie (name, value) / / two parameters, one is the cookie name, a value are ( var Days = 30; / / This cookie will be saved for 30 days ...

hibernate study of the thirteenth chapter

load method and principle analysis of lazy loading The purpose of lazy loading, to reduce unnecessary database queries and enhance performance. Mapping components to use in front of the user category, ...

XmlHttpRequest instance

Reference: http://www.cnblogs.com/chy710/archive/2007/04/15/713868.html

js format function of time and tools categories (collections)

This is a collection of tools function DateUtil () () / ** * Functions: formatting time * Example: DateUtil.Format ( "yyyy / MM / dd", "Thu Nov 9 20:30:37 UTC +0800 2006"); * Retur ...

javascript counter

Reprint: http://hi.baidu.com/javajavajava/blog

PeriodicalExecuter object in prototype.js

prototype.js defined PeriodicalExecuter object, provide a certain interval of time to repeat the logic of a method call.

javascript Time formatted Ways

/ ** * Formatted time object; * / Date.prototype.format = function (format) ( / * * Eg: format = "yyyy-MM-dd hh: mm: ss"; * / var o = ( "M +": this.getMonth () +1, / / month " ...

Several good js calendar

The first paragraph: js script Page call Second paragraph: js script Page call Paragraph: js script Page call

JS Study Notes

alert ( "text") alert box confirm ( "Text") to confirm the box click OK return true, otherwise return false prompt ( "Text", "default value") prompt box JS even ...

js function in the operation of cookie

<script type="text/javascript"> function setCookie (sName, sValue, oExpires, sPath, sDomain, bSecure) ( var sCookie = sName + "=" + encodeURIComponent (sValue); / / Failure t ...

js the dynamic time

js the dynamic time

js version of Ant Colony Algorithm

js version of Ant Colony Algorithm

Hibernate query: HQL and Criteria

HQL query methods generally used in more general way through the query query. Examples are as follows: The Criteria is a more than HQL query object-oriented approach: Created as follows: Criteria crit ...

JS in the Date type conversion

http://blog.csdn.net/yzy0612/archive/2007/08/07/1730732.aspx

Hibernate Inteceptor

The end of the project stage, the client suddenly put forward a very troublesome but normal demand, the system records all changes must be carried out. Formats such as: 2004.1.1 12:30 Ikuya wind order ...

First Hibernate Example

Curd a simple example. Source does not contain the dependent libraries, or playing too much of the package. PO object Note: One must have the default constructor 2 non-final modified. Otherwise useles ...