Re: Migrating from Struts 1.2 to recent Struts

2019-03-11 Thread Dave Newton
Kind of depends what you're migrating it to. Roughly speaking you copy your business logic as-is and rewrite the web interface side of things. On Mon, Mar 11, 2019 at 2:16 PM davidrobertwoos...@gmail.com < davidrobertwoos...@gmail.com> wrote: > I'm forced to migrate a sizable application from

Re: Mapping struts.xml actions to their full URL

2019-03-11 Thread shonlevin1234
On 2019/03/11 12:42:14, Dave Newton wrote: > The "servlet prefix" (whatever that is) is dependent on the deployment, not > the app. > > On Mon, Mar 11, 2019 at 8:22 AM shonlevin1...@gmail.com < > shonlevin1...@gmail.com> wrote: > > > As part of security tests we are doing, I have to map the

Re: Mapping struts.xml actions to their full URL

2019-03-11 Thread shonlevin1234
On 2019/03/11 12:42:14, Dave Newton wrote: > The "servlet prefix" (whatever that is) is dependent on the deployment, not > the app. > > On Mon, Mar 11, 2019 at 8:22 AM shonlevin1...@gmail.com < > shonlevin1...@gmail.com> wrote: > > > As part of security tests we are doing, I have to map the

Migrating from Struts 1.2 to recent Struts

2019-03-11 Thread davidrobertwoosley
I'm forced to migrate a sizable application from Struts 1.2 to something recent, and I don't know where to start. I understand that Struts 1.2 is ~ancient~ history and no longer supported in any way, shape or form. But it must be done. How can I accomplish such a migration? Thanks, David

HashMap with String as key

2019-03-11 Thread Prasanth
Hi, When you have a HashMap backed form and String as key, are there any restrictions on the characters allowed? I have keys like "2432-123" as I have to incorporate two ids in the key. When I have these keys the HashMap is not getting populated. If I change it, so that there is only one id

Spring Boot + Struts2 Convention Plugin Not Working

2019-03-11 Thread Rubens Gomes
I using Spring Boot + Struts2, and the convention plugin is not working. That, is the request URL paths are not being automatically mapped to their corresponding action classes at all. Spring Boot: 1.5.19.RELEASE Struts2: 2.5.20 Java VM JDK 1.8 Maven I have the struts2-convention-plugin in

Re: Mapping struts.xml actions to their full URL

2019-03-11 Thread Dave Newton
The "servlet prefix" (whatever that is) is dependent on the deployment, not the app. On Mon, Mar 11, 2019 at 8:22 AM shonlevin1...@gmail.com < shonlevin1...@gmail.com> wrote: > As part of security tests we are doing, I have to map the actions appears > in struts.xml to their full URLs. I know to

Mapping struts.xml actions to their full URL

2019-03-11 Thread shonlevin1234
As part of security tests we are doing, I have to map the actions appears in struts.xml to their full URLs. I know to connect between the namespace and the action name of every action from struts.xml, but how can I know which servlet refers to each action? For example, this is my struts.xml