posted 16 years ago
Well, I don't think that there is an easy way to migrate an existing struts 1.x application to be a struts 2.x application. What I suggest is that to add the struts 2 jars, and configure it to use a different extension/servlet mapping (for example, struts 1 will be responsible for ".do", and struts 2 for ".action"). This way you will have your old application untouched, and code the new modules using struts 2.x. You can then change your old application to struts 2 one module at a time. Basically, if you have a well designed application, where the business logic is in POJOs, and you use struts actions for the workflow, presentation and the data validation only, you will not face a lot of problems migrating.