I have to use methods developed by pulgin (that is, by the way pulgin SDK development) in the development process, I found the picture url definition of strange. Instance, to develop a portlet: Name: ...
text javascript (RSS)
Project uses a kindeditor3.4 UploadContentImgAction ImageUitl
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 ...
<% @ Page contentType = "text / html; charset = utf-8"%> < % @ page import = "java.util.ArrayList"%> < % @ page import = "bean.CategoryBean"%> < % @ ...
1 the use of JavaScript in the page To the use of a web page JavaScript, you can use <script> label, if you want to write JavaScript in the page source directly, and can be as follows: ...
DWR The principle is: the JAVA-type and reached into the JS from JS call in JAVA class method, the realization of the asynchronous call. GWT compared with the advantages of DWR A, DWR can be synchroni ...
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 ...
This is a new project OurJS.cn released: Tempo.js 1. Tempo.js is a lightweight tool for js type template; 2. The purpose is to achieve HTML code separation with the JS code, making use of JS in the HT ...
Simple to verify: <form name="myform"> User Name: <input type="text" name="username"/> <br /> Password: <input type="password" name="p ...
Since an anti-Microsoft browsers Security update After, Flash web pages began to appear dashed frame shows Example of a Object that is the way Flash tag call to open IE browser (Firefox does not this ...
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 ...
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 ...
<! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <html xmlns = " http://www.w3.or ...
Dwr when in use, in accordance with access to a pojo object id, js on the page to be a js object to be converted, it is easy to use. However, the return value can only be used inside dwr callback func ...
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 ...
Prospects: 1, regist.jsp 2, ajax.js Background: 1, AjaxDemoAction.java (used DispatchAction) 2, EncodeUtil.java (transcoding type)
If you use the Eclipse open window-> preferences and then General-> Content Types, select JavaScript Content, in the following Default encoding, changed to GBK. Re-open. Js files, as soon as OK ...
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 ...
1. The following is a list of some types of numerical interpretation of regular expressions "^ \ \ d + $" / / non-negative integer (positive integer + 0) "^ [0-9] * [1-9] [0-9] * $" ...
<! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/199 ...
①, in the normal allocation of DWR (including reverse ajax configuration) and JSF to do after the web.xml in the following definition: <filter> <filter-name> DwrFacesFilter </ filter-na ...
JS achieve a simple page Print
We encountered one of the most popular auto-complete function. Google launched its home page in Google Suggest, the presentation of the auto-complete the perfect present. Google Suggest is amazed peop ...
1.login jsp <% @ Page language = "java" contentType = "text / html; charset = UTF-8" pageEncoding = "UTF-8"%> <% @ Taglib prefix = "ww" uri = "/ w ...
1.ext_viewport.jsp <% @ Page language = "java" contentType = "text / html; charset = UTF-8" pageEncoding = "UTF-8"%> <% @ Taglib prefix = "ww" uri = &q ...
Published availability, if the user is not logged, login prompt, log on to the hair after the Listing page <! - Js_login to start -> <c:if test="${num=='1'}"> <script ...
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 ...
Used in other places this is not more than about. Mainly to their own notes to be, I hope we can bring some help.
JS read xml
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 ...
javascript calendar
Very simple web page to add the following code: <script type="text/javascript"> var ht = document.getElementsByTagName ( "html") [0]; ht.style.filter = "progid: DXImageT ...
Document options <script type="text/javascript"> </ script> Print this page <noscript> </ noscript> <! - START RESERVED FOR FUTURE USE INCLUDE FILES - ><!-- ...
Ajax object A common feature of the above-mentioned method is very good, but let's face it, they are not the most senior of the kind of things. Which is it? You might even have written the script ...
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 ...
Ajax in the commonly used in the development of java web application code is as follows: <% @ Page language = "java" import = "java.util .*" pageEncoding = "UTF-8"%> ...
Recently graduated from design, because of the need to write a do-it-yourself examples js countdown, and now here, after the backup. <script type="text/javascript"> function clock () ( ...
<script language="javascript" type="text/javascript"> var i = 5; intervalid = setInterval ( "fun ()", 1000); function fun () ( if (i == 0) ( window.location.href = ...
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 ...
First, the demand for Description: DIV now has three blocks, three super-links, need to click a link to show the corresponding module, and hide the remaining two modules Second, the code is as follows ...
js create dynamic forms. DIV.遮照
IE only support continuous playback, FF can not play continuously under <! DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.0 Transitional / / EN"> <HTML> <HEAD> <TITLE> ...
The following analysis of these parameters are directed to the IE browser: Get screen coordinates of the mouse, as opposed to the entire page: x = event.clientX, y = event.clientY Be the width of the ...
The use of regular expressions to remove spaces in string
google dynamic loading api can not only own the ajax loaded modules can also be loaded at the same time many of the three popular modules, such as jQuery, dojo, yui, etc.. This article has a way of dy ...
From the snail to come Black hair: http://heisetoufa.javaeye.com/
String.replace () Introduction Syntax: regexp: replace operation you want to perform regular expression, if a string is passed, it will be treated as ordinary characters to deal with, and only the imp ...
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 ...
jquery ajax login authentication







