Intercept form action, data get lost.
-------------------------------------
Key: WW-2654
URL: https://issues.apache.org/struts/browse/WW-2654
Project: Struts 2
Issue Type: Bug
Affects Versions: 2.0.11.1
Environment: Tomcat 5.5, Eclipse 3.2
Reporter: benny lau
Case 1:
I created a simple login page with username and password textfield.
when the submit button is clicked, the action will retrieve the field data and
print it out.
The above scenario is working fine.
Case 2:
added an interceptor "org.apache.struts2.interceptor.ServletConfigInterceptor"
to retrieve servletrequest object.
when the button clicked, the action retrieve the field data always "empty
string".
Case 3:
Added a custom interceptor implemented interceptor interface. the "intercept"
method return ActionInvocation.invoke() only.
when the button clicked, the field data still always "empty string".
I suspect the intercept function will reset the field data.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.