I started using the wild-card support in action mappings (from a CVS build). It works, but I noticed something strange (until I realized what it was doing). So, I have a action mapping like:

        <action
            path="/areas/*"
            type="apackage.AreaAction">
            <forward name="success" path=".area"/>
        </action>

Then in some jsp I have:

<html:link title="${area.name}" action="/areas/${area.address}">

Where area.address expands to '10.0.0.1'. Struts will look for the last dot in an action and chop it off. So I keep getting a string like:

<a href="/managearea/do/areas/10.0.0" title="area1">area1</a>

So I am not using extensions in my struts configuration and I would intuitively think that I would get '10.0.0.1' back. Is this an ambiguity that appeared with the new wildcard support that cannot be resolved (meaning I should never use '.' in any names) or is there some way to resolve this? Perhaps I must always use extensions to combat this (i.e. action="/areas/${area.address}.bogus_extension" - which is fine by me as a workaround)?

-Tom



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



Reply via email to