On Jul 15, 2005, at 1:12 PM, Brian Lalor wrote:
Hey, cool! The two books that I can find (of the 3 I own) only
cover up to Struts 1.1. The link Laurie sent contains some more
info on the wildcard mappings, but it appears that you've gotta use
a custom ActionMapping class[1, 2], with the className property of
the <action /> element.
I succumbed to a dangerous instinct (hm, I wonder if I can repurpose
something from the existing ActionMapping for my needs?) and it paid
off. The setParameter() method is:
[A] general purpose configuration parameter that can be used to
pass extra information
to the Action instance selected by this Action. Struts does not
itself use this value
in any way.
So I should be able to use
<action path="/CATALOG*/..." parameter="{1}" ... >
Thanks everyone!
--
__ ____
/ / / __/ Brian Lalor "If you still have gas, you're
not lost."
/ _ \/__ \ [EMAIL PROTECTED] -- Jacques Strappe
/_.__/____/ http://bravo5.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]