[
https://issues.apache.org/struts/browse/WW-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43767#action_43767
]
Mike Jennings commented on WW-1998:
-----------------------------------
Don,
In the OC4J 10.1.3.1 container the struts 2 application does not parse query
string parameters.
This is also a issue in webworks when using the Filter configuration in the
web.xml. I can get around this issue in webworks by using the servlet setup as
described above.
I have noticed that Struts 2.0.11.1 works just fine in OC4J 10.1.3.3, so I
guess I just need to wait until my application server group upgrades our
application servers.
I was just wondering if you guys could include the servlet functionality like
in webworks, because that configuration works fine under the OC4J 10.1.3.1
version of the application server and parsing query string parameters.
> 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.1.2
>
>
> 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.