At 1:36 PM +0800 5/24/05, Richard Reyes wrote:
Hello Guys,

I got this action mapping...

        <action path="/login-*"
           type="net.telic.wdsap.actions.LoadCustomPropertiesAction">
           <forward name="login" path="/page-login-{1}.tn" />
           <forward name="wrongurl" path="/main-index.tn" />
           <forward name="systemerror" path="/main-error.tn" />
           <forward name="reload" path="/reload.tn" />
        </action>

Is it possible to access the exact "*" wildcard value inside
LoadCustomPropertiesAction?

Just apply the value to one of the properties of the mapping, like:

<action path="/login-*" parameter="{1}" ...

There's no more direct way; I suppose we could put it in request scope under a key like "ACTION_MAPPING_WILDCARD_MATCH", but in the absence of any code changes, the suggestion above will work now.

Joe
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex

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

Reply via email to