aspose file tools*
The moose likes Struts and the fly likes Migration from struts1.1 to struts2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Migration from struts1.1 to struts2.0" Watch "Migration from struts1.1 to struts2.0" New topic
Author

Migration from struts1.1 to struts2.0

Ananth Chellathurai
Ranch Hand

Joined: Nov 21, 2007
Posts: 349

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


Ananth Chellathurai [Walk on software]
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8710
    
    6

There are a couple of resources in the Struts 2 Guides Page


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Ananth Chellathurai
Ranch Hand

Joined: Nov 21, 2007
Posts: 349

No enough details there.
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 460
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.


Visit my blog: http://jnassef.blogspot.com/
Ananth Chellathurai
Ranch Hand

Joined: Nov 21, 2007
Posts: 349

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
 
subject: Migration from struts1.1 to struts2.0
 
Similar Threads
Java Page Flows
Does WSAD5.0 support Struts1.1 and 1.2
problem with struts-config.xml
Struts framework
how to do ,update jbuilder8.0 struts1.02 to struts1.1