struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Denne (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-2794) Dispatcher should allow bypass of URI patterns
Date Wed, 11 Feb 2009 19:57:47 GMT

    [ https://issues.apache.org/struts/browse/WW-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45581#action_45581
] 

Stephen Denne commented on WW-2794:
-----------------------------------

A simpler workaround for some situations is to add to your struts.xml the line:

<constant name="struts.action.extension" value="action" />

Which is different from the default in that it does not include treating a blank extension
as an action.

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


Mime
View raw message