You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ken (JIRA)" <ji...@apache.org> on 2009/02/18 08:44:45 UTC
[jira] Created: (WW-3000) StrutsPrepareAndExecuteFilter param
problem
StrutsPrepareAndExecuteFilter param problem
-------------------------------------------
Key: WW-3000
URL: https://issues.apache.org/struts/browse/WW-3000
Project: Struts 2
Issue Type: Bug
Components: Dispatch Filter
Affects Versions: 2.1.6
Environment: Windows XP with jboss-web 2.1.1,or jetty 6.1.6
Reporter: Ken
Priority: Critical
when use org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter with param:
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
the action method crashed due to recursion call by struts 2.1.6.
I replace the new filter with old one:org.apache.struts2.dispatcher.FilterDispatcher,it works.
because I muse use UrlRewriteFilter,so These params are important to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WW-3000) StrutsPrepareAndExecuteFilter param
problem
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso resolved WW-3000.
---------------------------------
Resolution: Fixed
The problem was that the new filters add the last action mapping to the request, this makes it possible to use Prepare and Execute as 2 filters, but the PrepareExecute should always lookup the action mapping. Fixed in trunk, thanks for reporting.
> StrutsPrepareAndExecuteFilter param problem
> -------------------------------------------
>
> Key: WW-3000
> URL: https://issues.apache.org/struts/browse/WW-3000
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.1.6
> Environment: Windows XP with jboss-web 2.1.1,or jetty 6.1.6
> Reporter: Ken
> Priority: Critical
> Fix For: 2.1.7
>
>
> when use org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter with param:
> <filter-mapping>
> <filter-name>struts2</filter-name>
> <url-pattern>/*</url-pattern>
> <dispatcher>REQUEST</dispatcher>
> <dispatcher>FORWARD</dispatcher>
> </filter-mapping>
> the action method crashed due to recursion call by struts 2.1.6.
> I replace the new filter with old one:org.apache.struts2.dispatcher.FilterDispatcher,it works.
> because I muse use UrlRewriteFilter,so These params are important to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3000) StrutsPrepareAndExecuteFilter param
problem
Posted by "Ken (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45620#action_45620 ]
Ken commented on WW-3000:
-------------------------
and if add <dispatcher>INCLUDE</dispatcher>
the tag <s:include .../> also crashed due to recursion call ,and throw stack over flow exception.
> StrutsPrepareAndExecuteFilter param problem
> -------------------------------------------
>
> Key: WW-3000
> URL: https://issues.apache.org/struts/browse/WW-3000
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.1.6
> Environment: Windows XP with jboss-web 2.1.1,or jetty 6.1.6
> Reporter: Ken
> Priority: Critical
>
> when use org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter with param:
> <filter-mapping>
> <filter-name>struts2</filter-name>
> <url-pattern>/*</url-pattern>
> <dispatcher>REQUEST</dispatcher>
> <dispatcher>FORWARD</dispatcher>
> </filter-mapping>
> the action method crashed due to recursion call by struts 2.1.6.
> I replace the new filter with old one:org.apache.struts2.dispatcher.FilterDispatcher,it works.
> because I muse use UrlRewriteFilter,so These params are important to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-3000) StrutsPrepareAndExecuteFilter param
problem
Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes Wannemacher updated WW-3000:
--------------------------------
Fix Version/s: 2.1.7
can you attach a small sample app? Seems it should be easy to reproduce.
> StrutsPrepareAndExecuteFilter param problem
> -------------------------------------------
>
> Key: WW-3000
> URL: https://issues.apache.org/struts/browse/WW-3000
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.1.6
> Environment: Windows XP with jboss-web 2.1.1,or jetty 6.1.6
> Reporter: Ken
> Priority: Critical
> Fix For: 2.1.7
>
>
> when use org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter with param:
> <filter-mapping>
> <filter-name>struts2</filter-name>
> <url-pattern>/*</url-pattern>
> <dispatcher>REQUEST</dispatcher>
> <dispatcher>FORWARD</dispatcher>
> </filter-mapping>
> the action method crashed due to recursion call by struts 2.1.6.
> I replace the new filter with old one:org.apache.struts2.dispatcher.FilterDispatcher,it works.
> because I muse use UrlRewriteFilter,so These params are important to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.