code lt (RSS)

Struts2 returns xml information

Before using struts2, each response to return all jump to the page. The requirement is to return an xml, see the struts2 document, when the result is of type xslt, you can return to xml. Xslt not fami ...

Tomcat5.5 data source configuration

Tomcat data source configuration on the web there are a lot of relevant information, and now I bring a proven method to write down the configuration, one for your reference, secondly, to sum up. My pr ...

The interceptor struts2

1. Understand the interceptor 1. Interceptors in the anti-ask certain way, before or after the field to intercept, and the interceptors are pluggable, the interceptor is an implementation of AOP. 2. I ...

Prototype.js to solve the problem of Ajax on IE8 compatibility

In the use of Ajax applications protype.js, there will be such a problem: as long as called Ajax.Request, and then point to the right page, view the "Properties" on the pop-up "IE stopp ...

hibernate lazy loading failed

Concerned about the javaeye has been more than a year, but had no opportunity to write a log. Today, they wanted big cow jokes are not afraid of you wrote a log. Want to beginners strtus, hibernate, s ...

js control the html tag's attributes

today is Friday, June 22 2009. I got some knowledge about the html and js from my project.So I will write them in my blog, And some advice is expected! you can control the css style through the javasc ...

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

jQuery and Extjs of cross-border visit to the Ajax

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!

JavaScript Redirect

The use of JavaScript can be user-oriented to a specific address, and the different ways the history of the browser will have different effects on record. 1, using the location.href, you can click you ...

The first fixed column header Javascript code

  Through the style sheet to achieve a fixed header and columns. Really good results. But questions and problems which need to add here. The original set of three styles, FixedTitleRow the header row ...

Upload file false AJAX

First of all, that is to say can not be achieved ajax upload, you can think about ajax and background communications through the transmission of the string, how can transfer documents? In fact, for se ...

Simple realization of the code is shaded site (JS)

Very simple web page to add the following code: <script type="text/javascript"> var ht = document.getElementsByTagName ( "html") [0]; ht.style.filter = "progid: DXImageT ...

HQL query parameters of the Chinese solution

In the Hibernate configuration file to add the following code: <property name="hibernate.query.factory_class"> org.hibernate.hql.classic.ClassicQueryTranslatorFactory </ property> ...

Tomcat5.5 in the JDBC data source configuration

Articles made reference to how to set up a good JDBC data source. Outflow of the configuration line for most of the previous version of the Tomcat configuration. Records the course of my configuration ...

Prototype study and document downloads and tutorials

1, Type - the type of 1) Object type. Prototype of the basic types in because js is not the type of language that non-type, when we look at the overall situation, Object to provide the overall situati ...

js problem of Access Denied

Today, for some js code in the debugger when the "Access Denied" error. After careful analysis of the code, and ultimately determine the window.open () open a new page when errors occur. Her ...

ExtJS environmental structures

With the development of the computer, RIA (rich Internet applications) is also a popular inevitable in a large number of RIA implementation, ExtJS is doing quite well. Javascript to write ExtJS is mai ...

js set the selected value of DropDownList

Page code JS code

JavaScript how to pass parameters to JavaScript files

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

Ext JS with Struts2 data form the data transmission between GridPanel

With the adoption of the struts 2 describes how to access data, filling the data to the Ext JS components GridPanel data forms, the part of the contents of the reference number of online tutorials. Fi ...

js in the issue of setTimeout

Yesterday, the company wrote a program and found that this piece of js code in the setTimeout error, so a small section of code written specifically to test, we encountered a puzzling problem. Look at ...

static javascript page value of three methods

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

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

Jboss Seam, mysql Chinese garbled summary of 4 steps

Jboss Seam, mysql Chinese garbled summary of 4 steps Keywords: seam hbm2ddl Chinese garbled mysql In fact, the following summary is suitable for any situation hibernate + mysql; Step 1: In the Create ...

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

flex + js or a file path

Adobe did not provide the light of the FileReference browse the full path of the document interface. JS and fileinput can only be used to obtain control of the local path. mxml code <! - ReadLocalF ...

DWR three linkage

First of all, the introduction of the necessary js <script src='项目名/dwr/interface/GetTrade.js'> </ script> to add the project name must be abnormal or <script src='项目名/dwr/i ...

Javascript to determine input (input box) whether the value is empty

For example, there is the following piece of code <from name="formName"> <input name="inputName" value="" /> </ form> We want to use JavaScript to deter ...

Rails development system to add WAP support

Rails in the development of unique WEB achieved considerable success, but the kernel has yet to support WML, then find some information, if you use Rails to develop the system to add WAP support, whic ...

Image linked to yui-ext Site - Ext JS

I was looking through Firebug and found that an image from a tree is linking to this site. The code It didn't copy that well from Firebug, but you can see that it's in a tree node. I can't ...

JQuery Ajax three linked areas of the drop-down box

Some JSP code <script src = " / js/jquery-1.2.6.min.js "Type =" text / javascript "> </ script> <script> / / Jquery in order to avoid the '$' and other &# ...

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

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

Call external js files, css files

Document about the introduction of a web page (including) the external JS file. Page document (in <head> </ head> inside) insert the following code: Description: src = "" which i ...

ajax garbled English settlement question

Looked at a lot of on-line ajax garbled value of the problem and found a lot of hard to solve their own problems, after some chaos of their alley, finally get the following are my code: jsp code: < ...

JavaScript in call usage and apply the meaning and the difference between

JavaScript, there is a call and apply methods, its role is basically the same, but there is a slight difference. JS first take a look at the manual's explanation of the call: call an object method ...

JavaScript Practical Tips

1. Oncontextmenu = "window.event.returnValue = false" will completely shield the right mouse button can be used in Table 2. Deselect to prevent copying 3. Are not allowed to paste: onpaste = ...

Domain conversion (switching) of the js code

Can be http://www.aaaa.com/aa/aa.php?abc=123 # 456 http://www.bbbb.net/aa/aa.php?abc=123 # 456 Conversion (switch) into http://www.vip66.cn/aa/aa.php?abc=123 # 456 That is, when you bind a number of w ...

JS refresh the parent window in several ways

Use iframe, pop-up sub-page to refresh the parent page iframe Js code <script language=JavaScript> parent.location.reload (); </ script> Pop-up sub-page Js code <script language=JavaScr ...

AJAX and use five-step deal with garbled English!

From the "AJAX technology portal" on the video excerpt of the code, feel quite used drops down, and after the use of the AJAX directly in their own blog on the need to find, save GOOGLE time ...

Prohibition of Right-js

CSDN at up to see someone ask this question. If the page is right-shielding, the text box on the right menu also give shielding, will be able to ask how the text box right of the menu is displayed. So ...

javascript html js seamlessly add scroll up and down about a high set standstill wide effects (compatible with ie / ff)

js language rolling code, rolling news Code: Transfer from: http://www.cnblogs.com/cloudgamer/archive/2008/04/30/1177682.html Black hair: http://heisetoufa.javaeye.com/

Ajax explain the five-step

Ajax submitted five I believe a lot of people have heard of or even proficient in Ajax technology, and now the dojo, jquery, ext and so on, they realize the Ajax technology and a very good package the ...

YUI Grids CSS 003 - Getting Started tutorial

First, we propose using the following this! DOCTYPE to call the browser's standard browser mode (if the browser has a variety of browser mode). Want to use YUI Grids CSS, first of all you need to ...

js Object-Relational articles java programmer

Oh, everyone OK.java category is the core, but a single category, has very little meaning, the key to have are kind of relationship! Inheritance, composition, and so on: Attachment can download the co ...

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

js call ocx control (read and write IC card)

1, Register OCX Start ---> cmd ---> regsvr32 *. ocx 2, jsp call ocx 3, js-ri call 4, IC card reader demo code

TOMCAT6 + SPRING + HIBERNATE JNDI data source configuration

This article carried: http://blog.chinaunix.net/u2/63740/showart_515514.html 1, in the context of context.xml inside tag add the following code: <Resource name = "jdbc / mysql" auth = &qu ...

Four Spring transaction configuration statement-Hibernate Service

The following are two bean configuration to use the following. Xml code <! - The definition of Transaction Manager (Declarative Services) -> <bean id = "transactionManager" class = ...

JavaScript html js gradient and gradient color effects, a very good js code

Transfer from: http://www.cnblogs.com/cloudgamer/default.html?OnlyTitle=1 Black hair: http://heisetoufa.javaeye.com/