You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2008/05/22 15:14:07 UTC

[jira] Resolved: (WW-2654) Intercept form action, data get lost.

     [ https://issues.apache.org/struts/browse/WW-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2654.
---------------------------------

    Resolution: Not A Problem

> 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.