You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Stephen Denne (JIRA)" <ji...@apache.org> on 2009/02/11 20:59:47 UTC
[jira] Issue Comment Edited: (WW-2794) Dispatcher should allow
bypass of URI patterns
[ https://issues.apache.org/struts/browse/WW-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45580#action_45580 ]
spdenne edited comment on WW-2794 at 2/11/09 11:58 AM:
-------------------------------------------------------------
A workaround is to create your own ActionMapper (extending DefaultActionMapper) overriding getMapping() to return a null ActionMapping when required.
Set the config parameter struts.mapper.class to your implementation.
was (Author: spdenne):
A workaround (not yet tested) may be to create your own ActionMapper (extending DefaultActionMapper) overriding getMapping() to return a null ActionMapping when required.
Set the config parameter struts.mapper.class to your implementation.
> Dispatcher should allow bypass of URI patterns
> ----------------------------------------------
>
> Key: WW-2794
> URL: https://issues.apache.org/struts/browse/WW-2794
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.1.2
> Reporter: Paul Benedict
> Assignee: Paul Benedict
> Priority: Critical
> Fix For: Future
>
>
> It is not possible to execute a servlet if Struts is mapped to /*
> Struts should either know how to match if a URI is a servlet (if such JEE API is available), or be given a list of simple patterns to match against. After all, Struts is just a filter :-) Not every request going through Struts should be handled by Struts... well, at least if configured as such.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.