Interceptor/interceptor |
Name |
Description |
Alias |
Alias |
The request parameters are converted between different requests, and the request content remains unchanged. |
Chaining |
Chain |
This allows the attribute of the previous action to be accessed by the latter action. It is now used in combination with the result () of the chain type. |
Checkbox |
Checkbox |
Added the checkbox automatic processing code, and set the content of the unselected checkbox to false. By default, HTML does not submit the unselected checkbox. |
Cookies |
Cookies |
Use the configured name and value to specify cookies. |
Conversion error |
Conversionerror |
Add an error from actioncontext to the action attribute Field |
Create session |
Createsession |
Automatically create an httpsession to serve the interceptor that needs to use httpsession |
Debugging |
Debugging |
Different debugging pages are provided to display internal data. |
Execute and wait |
Execandwait |
Execute the action in the background and take the user to a waiting page in the middle |
Exception |
Exception |
Locate the exception to a screen |
File Upload |
Fileupload |
Provides the file upload function. |
I18n |
I18n |
Record the selected locale |
Logger |
Logger |
Name of the output action |
Message store |
Store |
Stores or accesses messages, errors, and field errors in the action class that implements the validationaware interface. |
Model Driven |
Model-driven |
If a class implements modeldriven, put the result of GetModel into the value stack. |
Scoped Model Driven |
Scoped-model-driven |
If an action implements scoped Model Driven, this interceptor will retrieve the model from the corresponding scope and call the setmodel method in the action to put it into the action. |
Parameters |
Params |
Set Request Parameters to action |
Prepare |
Prepare |
If action implements preparable, the interceptor calls the prepare method of the action class. |
Scope |
Scope |
Simple Method of saving action status to session and Application |
Servlet config |
Servletconfig |
Provides methods for accessing httpservletrequest and httpservletresponse, and accesses the data by map. |
Static Parameters |
Staticparams |
Set the content in the Struts. xml file to the corresponding action. |
Roles |
Roles |
Determine whether the user has a role specified by JAAS. Otherwise, the role is not executed. |
Timer |
Timer |
Time when the output action is executed |
Token |
Token |
Use token to avoid double-clicking |
Token session |
Tokensession |
It is the same as the token, but when you double-click it, the data is stored in the session. |
Validation |
Validation |
Validate submitted data using the content defined in the action-validation.xml File |
Workflow |
Workflow |
Call the validate method of action. If an error is returned, go to the input page again. |
Parameter Filter |
N/ |
Remove unnecessary parameters from the parameter list |
Profiling |
Profiling |
Activate profile through Parameters |