RE: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread John Aylward
Yes, for now, I just need the application working as it did before. I'm planning to rewrite all the existing actions using the REST plugin and moving forward from there. Having STI enabled when using wildcard matching is a little bit of a headache though. The entire point of me using the wildc

Re: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread Lukasz Lenart
Right, SMI is a new addition in Struts 2.5 and it's better to use it instead of disabling, please read this https://struts.apache.org/docs/action-configuration.html#ActionConfiguration-StrictMethodInvocation 2016-12-22 17:27 GMT+01:00 John Aylward : > Ok, I got it to work with an include file on 2

RE: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread John Aylward
Ok, I got it to work with an include file on 2.5.8. In my main struts.xml I added this: Then in my included file I had to set this: The strict method invocation was preventing my actions from loading. Disabling it allowed my wildcard

RE: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread John Aylward
I combined all my struts.xml files into one and finally got a struts configuration error after a bit of massaging to get rid of old elements that I didn't need anymore and messed one up. At least I know the struts.xml file is being loaded now. I know the actions are being found because I purpose