struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Denne (JIRA)" <>
Subject [jira] Commented: (WW-2794) Dispatcher should allow bypass of URI patterns
Date Wed, 11 Feb 2009 04:23:46 GMT


Stephen Denne commented on WW-2794:

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

View raw message