On Nov 2, 2007 1:52 AM, Jeromy Evans <[EMAIL PROTECTED]> wrote:
> My case can be replicated in the MailReader however by adding a no-op
> IndexAction in root namespace and removing the default-action-ref.

The use-case for the default-action-ref is localization. By using a
default-action-ref, it's easy to provide a package.properties file
that the actions can share.

The alternative is to set

 <constant name="struts.custom.i18n.resources" value="actions.package" />

I'm just not sure which is the best practice :(

> After making this change:
>
> http://localhost:8080/index shows the index
> http://localhost:8080/an/arbitary/url also shows the root index

One reason for this is that SmartURLs might be hooking into the
unknown Action feature, and so any "unknown" action is reverting to
the index for the document root.

-Ted.

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

Reply via email to