[
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.