-
struts validator驗證框架
1、配置:
* 加入國際化配置在struts-config.xml文件中,如:
<message-resources parameter="MessageResources" />
* 提供國際化資源文件
* 引入validator插件在struts-config.xml文件中,如:
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property
property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>
* 提供validation.xml和validator_rules.xml文件,將此文件拷貝到WEB-INF下
2、validator服務器端驗證
* 配置validation.xml文件
3、validator客戶端驗證(javascript)
) * 配置validation.xml文件
* 在jsp頁面中包含< html:javascript>
* 對需要驗證的表單定義onsubmit事件,其中事件名稱為validate+ActionForm的名稱,如:validateLoginForm
標簽:
struts-config
validator
struts
xml
上傳時間:
2017-01-24
上傳用戶:silenthink
-
Mapack可用來做矩陣運算
Mapack is a .NET class library for basic linear algebra computations. It supports the following matrix operations and properties: Multiplication, Addition, Subtraction, Determinant, Norm1, Norm2, Frobenius Norm, Infinity Norm, Rank, Condition, Trace, Cholesky, LU, QR, Single value decomposition, Least Squares solver, Eigenproblem solver, Equation System solver. The algorithms were adapted from Mapack for COM, Lapack and the Java Matrix Package.
標簽:
Mapack
computations
supports
algebra
上傳時間:
2017-01-26
上傳用戶:tb_6877751
-
本文檔介紹了如何使用各種內嵌工具,函數和其他一些小技巧來加強使用matlab的速度和效率,是廣大愛好者必讀的文檔。具體內容請參閱文檔。
Learn how to use the Profiler tool, vectorized functions, and other tricks to writing efficient MATLAB code. This article includes how to convert any array into a column vector, bounding a value without if statements, and repeating/tiling a vector without repmat.
Contents:
* The Profiler
* Array Preallocation
* JIT Acceleration
* Vectorization
* Inlining Simple Functions
* Referencing Operations
* Numerical Integration
* Signal Processing
* Miscellaneous Tricks
標簽:
文檔
如何使用
內嵌
上傳時間:
2013-12-11
上傳用戶:cuiyashuo
-
Applet小游戲
附件是我自己做的一個打字游戲,其中用到了java的多線程,
打開play.html 即可看到游戲畫面.
其源代碼中的四個applet 參數:
<param name = "stepLen" value = "3">
<param name = "stepInterval" value = "50">
<param name = "columNum" value = "15">
<param name = "createInterval" value = "600">
改變它們的值可以改變字母下落速度.
有興趣的話,可以幫忙看看,有不足的還望大家指出.
下面的TypeTrainApplet.rar是源代碼.
開發(fā)環(huán)境: jBuilder7.0 , jdk4.0
標簽:
Applet
applet
param
java
上傳時間:
2017-02-20
上傳用戶:lz4v4
-
3G Mobile Open Wide Door For E-commerce
The 3G mobile Internet business in 3G era will obtain rapid development, but it still
cannot become the ma in 3G era. In the age of 3G speech business, but is still a subject
of value-added business will have great development, the 3G mobile Internet business.
標簽:
E-commerce
3G
Internet
business
上傳時間:
2017-03-23
上傳用戶:zjf3110
-
full wave rectifierDuring the period from 偽 to 蟺, the input voltage vs input current is are positive and the power flows from supply to the load. The converter is said to be operated at rectification mode .During the period from 蟺 to 蟺+偽 , the input voltage vs is negative and the input current is is positive and reverse power flows from load to the supply. The converter is said to be operated in inversion mode. Depending on the value of 偽, average output voltage can be either positive or negative and hence provides 2 quadrant operation.
標簽:
input
rectifierDuring
the
positive
上傳時間:
2017-04-10
上傳用戶:alan-ee
-
if the method is to be made void, then it cannot have a return statement, all it can do is set the value. Your SeatReserved variable is already a global variable, so what you have in the last post will work, it is known as a set or setter method. All it does is set a value, usually these are done accross classes.
標簽:
the
statement
cannot
method
上傳時間:
2013-12-22
上傳用戶:xaijhqx
-
SCSI Multimedia Commands 鈥?3 (MMC-3)
T10/1363-D
5.16 READ CAPACITY Command
The READ CAPACITY command (Table 144) provides a means for the Initiator to request information
regarding the capacity of the Logical Unit. This command shall not report the correct capacity of the
recorded data for CD-R, CD-RW and DVD-R/-RW media that does not have a Lead-out in the last
Session or last Border-out. For CD-ROM, the returned logical block address is modified to allow returning
a possibly inexact value (but one with a known error bound) based on the Table of Contents data
標簽:
CAPACITY
READ
Multimedia
Commands
上傳時間:
2017-04-17
上傳用戶:liuchee
-
Auctions are among the oldest economic institutions in place. They have been used since antiquity to sell a wide variety of goods, and their basic form has remained unchanged. In this dissertation, we explore the efficiency of common auctions when values are interdependent- the value to a particular bidder may depend on information available only to others-and asymmetric. In this setting, it is well known that sealed-bid auctions do not achieve efficient allocations in general since they do not allow the information held by different bidders to be shared.
標簽:
institutions
antiquity
Auctions
economic
上傳時間:
2014-07-14
上傳用戶:Breathe0125
-
1. This BSP can support 2443EVT0 board.
If you want to use EVT0 BSP, set followings.
In smdk2443\smdk2443.bat file
set BSP_EVT1=1
-> set BSP_EVT1=
In smdk2443\src\inc\bsp_cfg.h file
#define EVT1
-> #define EVT0
2. Default system tick mode is changed. The value is fixed tick.
Fixed tick means that tick interrupt is occurred every 1ms.
Variable tick means that timer interrupt period is changed when power mode is in idle.
For changing to variable tick
In smdk2443\src\inc\bsp_cfg.h file
#define FIXEDTICK
-> #define VARTICK
In smdk2443\src\Common\Timer\Sources file
SOURCES= timer_fixedtick.c watchdog.c
->
SOURCES= timer_vartick.c watchdog.c
標簽:
EVT0
followings
BSP
support
上傳時間:
2014-01-27
上傳用戶:fnhhs