aspose file tools*
The moose likes Struts and the fly likes Migrating Application From Struts 1.3 to Struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Migrating Application From Struts 1.3 to Struts 2" Watch "Migrating Application From Struts 1.3 to Struts 2" New topic
Author

Migrating Application From Struts 1.3 to Struts 2

Dagadu Akambe
Greenhorn

Joined: Sep 04, 2008
Posts: 7
Hi,

I have complete application developed in Struts 1.3, Now I want to convert that into Struts 2. I am in confusion like, from where to start. And, what will be the most convenient way to do this.

If anybody has done this before, please, reply.

Thanks & Regards
Dagadu Akambe
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Why do you want to convert it to Struts 2? Do you have an actual *reason* for wanting to do so? Does it makes sense to do so from a time or business perspective? Bear in mind that if you've used Struts 1 form tags (or other S1 tags) you'll have to convert all the JSPs. You *could* use the Struts 1 plugin, but IMO it's not worth it, because you're still left with the untestable mess S1 brought to the table.

Other than that, action by action, JSP by JSP. There is no magic.
Dagadu Akambe
Greenhorn

Joined: Sep 04, 2008
Posts: 7
Hello David,

Thanks for your reply !

I agree with your opinion. But, we were planning to bring new version of our application in Struts2. Because, Struts2 provides better ajax support and all. That's why I was seeking advices from people to migrate it in a less efforts.


Thansk & Regards
Dagadu Akambe
 
Consider Paul's rocket mass heater.
 
subject: Migrating Application From Struts 1.3 to Struts 2