Heh, thankfully no. :)  In fact, that's one of the reasons I'd like to
incorporate this into Struts itself to remove that alternate processor
requirement.

The patch adds a couple of lines to RequestProcessor.processMapping() to,
in the case of no direct mapping found, try to match any wildcards.  All
of the logic of wildcard mapping is stored in a helper class to keep
RequestProcessor as clean as possible.

Don

On Mon, 11 Aug 2003, David Graham wrote:

> --- Don Brown <[EMAIL PROTECTED]> wrote:
> > I'd like to put the wildcard-matched action code from Bug #21813
> > (http://issues.apache.org/bugzilla/show_bug.cgi?id=21813) into
> > Struts.  When I mentioned it last, the only concern I heard raised was
> > from Craig regarding performance penalties.  As I noted in the bug
> > description, the path isn't checked against compiled wildcards until an
> > exact match cannot be found.  Even then, it is only checked against
> > action
> > mappings that actually contain at least one wildcard.
> >
> > Let me know if anyone has any reason I shouldn't do this or concerns I
> > can
> > hopefully alleviate.  Thanks.
>
> Looks pretty neat.  On your site you have a custom
> WildcardRequestProcessor that performs this behavior.  Are you planning on
> incorporating it directly into RequestProcessor now?  I don't think we
> should exasperate the poor RequestProcessor situation any further by
> adding more of them.
>
> David
>
> >
> > Don
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to