Re: Default action behaviour with convention plugin change in 2.3.12

2013-03-21 Thread Lukasz Lenart
Ok, I have reverted changes to DefaultActionMapper, so the previous logic will work as expected. Thanks Eric for your contribution! Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-un

Re: Default action behaviour with convention plugin change in 2.3.12

2013-03-21 Thread Eric Chatellier
Le 21/03/2013 10:16, Lukasz Lenart a écrit : > Hm... this is strange, could you prepare a small demo app or share > some configuration details? I just attached a maven test project to describe regression to jira ticket: https://issues.apache.org/jira/secure/attachment/12574762/StrutsSample_1.zip w

Re: Default action behaviour with convention plugin change in 2.3.12

2013-03-21 Thread Lukasz Lenart
2013/3/21 Eric Chatellier : > There is maybe a misunderstanding here. > Ticket #WW-3997 is talking about empty action. > > My real problem is that i'm using convention plugin IndexAction. > It was working in 2.3.8, but not anymore in 2.3.12 too. Hm... this is strange, could you prepare a small dem

Re: Default action behaviour with convention plugin change in 2.3.12

2013-03-21 Thread Eric Chatellier
Le 21/03/2013 07:29, Lukasz Lenart a écrit : > btw. the Convention plugin supports Index action: > http://struts.apache.org/development/2.x/docs/convention-plugin.html#ConventionPlugin-Introduction There is maybe a misunderstanding here. Ticket #WW-3997 is talking about empty action. My real prob

Re: Default action behaviour with convention plugin change in 2.3.12

2013-03-20 Thread Lukasz Lenart
2013/3/20 Paul Benedict : > 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. You mean an additional attribute:

Re: Default action behaviour with convention plugin change in 2.3.12

2013-03-20 Thread Paul Benedict
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 wrote: > There

Re: Default action behaviour with convention plugin change in 2.3.12

2013-03-20 Thread Dave Newton
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 wrote: > 201

Re: Default action behaviour with convention plugin change in 2.3.12

2013-03-20 Thread Lukasz Lenart
2013/3/20 Eric Chatellier : > Is there any working solution with 2.3.12 ? > > tried some configurations with > > index > > but doesn't seems to work yet... The problem with is that by Servlet Spec only static resources can be defined as a welcome file, thus leads to solution like: - defin

Re: Default action behaviour with convention plugin change in 2.3.12

2013-03-20 Thread Eric Chatellier
Le 18/03/2013 14:12, Lukasz Lenart a écrit : > > It is related to that issue [1], but I'm still wondering if it is the > correct way to solve it (revert the change) as this prevent properly > handling static resources and you must defined an empty action which > basically is wrong as http server mu

Re: Default action behaviour with convention plugin change in 2.3.12

2013-03-18 Thread Lukasz Lenart
2013/3/18 Eric Chatellier : > I'm trying to update an application using struts with convention > plugin from 2.3.8 to 2.3.12. > > I'm experiencing a change with default action "/" that > was calling "IndexAction#execute()" method in version 2.3.8. > Now, in version 2.3.12, this is resulting in 404