What I've suggested before -- but haven't done anything about it -- is to allow the struts.xml packages to have an index action. This will execute if the package is specified but no action. This is different than a default action.
Paul On Wed, Mar 20, 2013 at 9:02 AM, Dave Newton <davelnew...@gmail.com> wrote: > There's that filter config solution, but I can't find a good reference to > it at the moment. > > > http://stackoverflow.com/questions/8071137/struts-2-execute-action-instead-of-welcome-file/8071249#8071249 > > Gives the overview, however. > > Dave > > > > On Wed, Mar 20, 2013 at 9:57 AM, Lukasz Lenart <lukaszlen...@apache.org > >wrote: > > > 2013/3/20 Eric Chatellier <chatell...@codelutin.com>: > > > Is there any working solution with 2.3.12 ? > > > > > > tried some configurations with > > > <welcome-file-list> > > > <welcome-file>index</welcome-file> > > > </welcome-file-list> > > > but doesn't seems to work yet... > > > > The problem with <welcome-file/> is that by Servlet Spec only static > > resources can be defined as a welcome file, thus leads to solution > > like: > > - defined index.jsp as a welcome-file > > - add: <% response.sendRedirect("index.action"); %> > > > > or try on of these > > > > > http://stackoverflow.com/questions/39399/how-can-i-set-the-welcome-page-to-a-struts-action > > > > > > 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 > > > > > > > -- > e: davelnew...@gmail.com > m: 908-380-8699 > s: davelnewton_skype > t: @dave_newton <https://twitter.com/dave_newton> > b: Bucky Bits <http://buckybits.blogspot.com/> > g: davelnewton <https://github.com/davelnewton> > so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton> >