You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2007/08/17 17:52:34 UTC

[jira] Updated: (WW-1998) Struts FilterDispatcher not parsing url encoded variables.

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

James Holmes updated WW-1998:
-----------------------------

    Fix Version/s:     (was: Future)
                   2.0.11

> Struts FilterDispatcher not parsing url encoded variables.
> ----------------------------------------------------------
>
>                 Key: WW-1998
>                 URL: https://issues.apache.org/struts/browse/WW-1998
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>         Environment: We are using Jdevleoper 10.1.3 with oc4j 10.1.3.1
>            Reporter: Mike Jennings
>             Fix For: 2.0.11
>
>
> The struts 2.0 framework seems to have a problem parsing url encoded variables, like form GETS, in the action.  The action does not get the variables and the getter/setters for the variables are never called.  I tried using the struts blank app to see if this would work, because I thought that there might have been a issue with my setup, but it does not work either.  The message only shows english, and never gets the spanish text because the FitlerDispatcher is not reconizing the url parameter passed into the action.  
> I have the same issue in WebWorks 2.4 and the only way that I can get my applicaitons to work correctly is to use the ServletDispatcher settings in the web.xml.  I am pasting the code from the wiki to show my web.xml configuration.
> <servlet>
>     <servlet-name>JspSupportServlet</servlet-name>
>     <servlet-class>com.opensymphony.webwork.views.JspSupportServlet</servlet-class>
>     <load-on-startup>1</load-on-startup>
> </servlet>
> <servlet>
>     <servlet-name>action</servlet-name>
>     <servlet-class>com.opensymphony.webwork.dispatcher.ServletDispatcher</servlet-class>
> </servlet>
> <servlet-mapping>
>     <servlet-name>action</servlet-name>
>     <url-pattern>*.action</url-pattern>
> </servlet-mapping>
> The struts 2 applicaiton has access to the JSPSupportServlet, but the ServletDispatcher has been deprecated and removed.  I would love to be able to get the ServletDispatcher code back so that I can use the most recent version of struts or if there is a way to get the app working, anything would be greatly helpful.
> Thanks,
> Mike Jennings

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.