struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-1998) Struts FilterDispatcher not parsing url encoded variables.
Date Fri, 02 May 2008 02:39:05 GMT

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

Don Brown resolved WW-1998.
---------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: 2.1.2)
         Assignee: Don Brown

Unfortunately, Struts 2 won't work well as a servlet, as it breaks other features such as
our more advanced tags.  It sounds like this is an application server bug, so I'm going to
close this for now.  

> 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
>            Assignee: Don Brown
>
> 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.


Mime
View raw message