THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
The Struts 2 conversion error interceptor is a subclass of the XWork 2 conversion error interceptor.
From the Javadocs of the XWork 2 interceptor:
Wiki Markup |
---|
{snippet:id=description|javadoc=true|url=com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor} |
From the Javadocs of the Struts 2 interceptor:
Wiki Markup |
---|
{snippet:id=description|javadoc=true|url=org.apache.struts2.interceptor.StrutsConversionErrorInterceptor} |
Parameters
Wiki Markup |
---|
{snippet:id=parameters|javadoc=true|url=org.apache.struts2.interceptor.StrutsConversionErrorInterceptor} |
Extending the Interceptor
Wiki Markup |
---|
{snippet:id=extending|javadoc=true|url=org.apache.struts2.interceptor.StrutsConversionErrorInterceptor} |
Examples
Wiki Markup |
---|
{snippet:id=example|lang=xml|javadoc=true|url=org.apache.struts2.interceptor.StrutsConversionErrorInterceptor} |
Conversion Error Interceptor
The Conversion Error interceptor allows ...
Parameters
Name | Type | Required | Description |
---|---|---|---|
|
|
|
|
Extending the Interceptor
Describe possible extensions to the existing interceptor.
Examples
Given an Action, SomeAction, add a reference to the Conversion Error interceptor.
Code Block | ||
---|---|---|
xml | xml |
<action name="SomeAction" class="com.examples.SomeAction">
<interceptor-ref name="conversionError "/>
<result name="success" type="freemarker">good_result.ftl</result>
</action>
|