Lukasz, The docs say <default-action-ref/> runs when any URI can't be found in the package. I don't want much liberty. Just when the package matches the URI exactly, have a default action. In regards to configuration, this might be as easy as adding a new attribute to that element. What do you think?
Paul On Mon, Aug 20, 2012 at 6:22 AM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > 2012/8/5 Paul Benedict <pbened...@apache.org>: >> I see that <default-action-ref> allows an action to execute if the >> user's path cannot be found. This is almost what I want but not quite. >> I would like to have an IMPLICIT "index" action for my packages. My >> configuration does not use any suffix -- everything goes to Struts >> (i.e., /*) -- so this feature is sensible for my configuration. > > I'm not sure if I understand you. You would like to have a different > <default-action-ref/> by package ? > > > Regards > -- > Ćukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org