This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
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

Can we integrate Struts1.x with Struts2.x

 
Tom Schildt
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all ! I would like to integrate s1(struts1) and s2(struts2) in a same web application..After long hours of searching found that it is possible(though i am not sure)..But unfortunately i couldn't find any example program for the same.
But still i tried a simple program by clubbing the jar files,struts-config.xml and struts.xml files together. When I included both <servlet> and <filter> tags required for S1 and S2 respectively in web.xml, an exception is thrown: "Exception starting filter struts2".

Could anyone help me by letting me know if the integration of Struts1 and Struts2 is possible?? and if YES, then please tell the way it should be done..

Thanks in advance,
 
Joe Ess
Bartender
Pie
Posts: 9258
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch.
The Migration Strategies page in the documentation indicates it can be done.
There's a also tutorial here.
 
Tom Schildt
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic