File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Migration from struts1.1 to struts2.0

 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can some one help me on how to upgrade an existing application in struts1.1 to 2.0 with less efforts.

Thanks in Advance.

Ananth
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a couple of resources in the Struts 2 Guides Page
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No enough details there.
 
Alaa Nassef
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your wonderful suggestions. Is there any big changes in the Action classes of struts 2.0?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic