Wildcard in Struts 2.5

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Wildcard in Struts 2.5

raviraj.mishra@sumasoft.net
Hi

I have updated the struts version from 2.3 to 2.5
and it seems that the wildcard is not working

Please have a look at the way it is declared.

<action name="logon.*" method="{1}" class="logonAction">
                        <result name="input" type="redirect">
                                <param name="location">${nextAction}</param>
                        </result>
----

Wanted to know if there is anything new/changed in terms of wildcard in Struts 2.5

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Wildcard in Struts 2.5

Lukasz Lenart
2017-11-27 9:31 GMT+01:00 [hidden email]
<[hidden email]>:

> Hi
>
> I have updated the struts version from 2.3 to 2.5
> and it seems that the wildcard is not working
>
> Please have a look at the way it is declared.
>
> <action name="logon.*" method="{1}" class="logonAction">
>                         <result name="input" type="redirect">
>                                 <param name="location">${nextAction}</param>
>                         </result>
> ----
>
> Wanted to know if there is anything new/changed in terms of wildcard in Struts 2.5

Yes, it is probably due to Strict Method Invocation
http://struts.apache.org/core-developers/action-configuration.html#strict-method-invocation


Regards
--
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]