Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 within Struts 1 application

 
Mina Daoud
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,
I am not sure if this possible or not, as i googled a lot without getting a clue!
I am having a huge CRM application built with Struts1, the application is traditional CRM, with 2 levels left menu and the main pages. I would like to add a module written in Struts2, is this possible by any way?

Thanks,
 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can create a struts.xml file, include struts libraries into your application, include the struts2 filter in web.xml and create whatever module you like in Struts 2. But if its not a very big module, adding another version of struts to your application will increase complexity uselessly IMO...
 
Mina Daoud
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So its not recommended to do so! The problem is that i am having a huge application with Struts1 and would like to upgrade it to Struts2, I thought the best way is keep changing module by module as building it from scratch would take time. Am i right or there is another solution to migrate big applications?

Thanks,
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic