yaozuodaoforfly的博客
yaozuodaoforfly · 共 139 篇文章
StrutsResultSupport
A base class for all Struts action execution results. The "location" param is the default parameter, meaning the most common usage of this result would be: This class provides two common parameters for any subclass: location - the location to go to after execution (could be a jsp page or another ac…
2014-04-22 19:50 · strusts2 · 评论(0)
StaticParametersInterceptor
This interceptor populates the action with the static parameters defined in the action configuration. If the action implements Parameterizable , a map of the static parameters will be also be passed directly to the action. Parameters are typically defined with <param> elements within xwork.xml. Int…
2014-04-22 19:14 · strusts2 · 评论(0)
FileUploadInterceptor
Interceptor that is based off of MultiPartRequestWrapper , which is automatically applied for any request that includes a file. It adds the following parameters, where [File Name] is the name given to the file uploaded by the HTML form: [File Name] : File - the actual File [File Name]ContentType : …
2014-04-21 21:19 · strusts2 · 评论(0)
ScopedModelDrivenInterceptor
An interceptor that enables scoped model-driven actions. This interceptor only activates on actions that implement the ScopedModelDriven interface. If detected, it will retrieve the model class from the configured scope, then provide it to the Action. Interceptor parameters: className - The model c…
2014-04-21 21:01 · strusts2 · 评论(0)
ChainingInterceptor
An interceptor that copies all the properties of every object in the value stack to the currently executing object, except for any object that implements Unchainable . A collection of optional includes and excludes may be provided to control how and which parameters are copied. Only includes or exc…
2014-04-21 20:50 · strusts2 · 评论(0)
I18nInterceptor
An interceptor that handles setting the locale specified in a session as the locale for the current action request. In addition, this interceptor will look for a specific HTTP request parameter and set the locale to whatever value is provided. This means that this interceptor can be used to allow f…
2014-04-21 20:34 · 评论(0)
ServletConfigInterceptor 总结
An interceptor which sets action properties based on the interfaces an action implements. For example, if the action implements ParameterAware then the action context's parameter map will be set on it. This interceptor is designed to set all properties an action needs if it's aware of servlet param…
2014-04-21 20:23 · strusts2 · 评论(0)
ExceptionMappingInterceptor 总结
This interceptor forms the core functionality of the exception handling feature. Exception handling allows you to map an exception to a result code, just as if the action returned a result code instead of throwing an unexpected exception. When an exception is encountered, it is wrapped with an Exce…
2014-04-17 20:50 · strusts2 · 评论(0)
AliasInterceptor 总结
The aim of this Interceptor is to alias a named parameter to a different named parameter. By acting as the glue between actions sharing similiar parameters (but with different names), it can help greatly with action chaining. Action's alias expressions should be in the form of #{ "name1" : "alias1"…
2014-04-17 20:46 · strusts2 · 评论(0)
extjs中怎么通过按钮获取父节点
var combo = this.findParentByType("DevelopmentGridPanel").topToolbar.findByType("combo");
2014-03-18 16:42 · 评论(0)
escape the underscore character sqlserver
WHERE username LIKE '%[_]d'; -- @Lasse solution WHERE username LIKE '%$_d' ESCAPE '$'; WHERE username LIKE '%^_d' ESCAPE '^';
2014-03-13 18:18 · sqlserver · 评论(0)
sql正则表达式
IF OBJECT_ID(N'dbo.RegexFind') IS NOT NULL DROP FUNCTION dbo.RegexFind GO create function RegexFind( @pattern VARCHAR(255), @matchstring VARCHAR(8000), @global BIT = 1, @Multiline bit =1) returns @result TABLE ( Match_ID INT, FirstIndex INT , length INT , Value VARCHAR(2000), Submatch_ID INT, Subma…
2013-04-02 12:50 · sqlserver · 评论(0)
textarea动态改变Label
var comment = Ext.getCmp('codeModuleComment'); comment.label.update(''); http://forum.z27315.com/topic/3271-%E5%9B%BE%E7%89%87%E7%B2%98%E8%B4%B4%E4%B8%8A%E4%BC%A0%E7%9A%84%E5%AE%9E%E7%8E%B0/
2013-03-06 11:13 · ext · 评论(0)