Win a copy of Design for the Mind this week in the Design 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: 9265
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