aspose file tools*
The moose likes Struts and the fly likes Can we integrate Struts1.x with Struts2.x Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Can we integrate Struts1.x with Struts2.x" Watch "Can we integrate Struts1.x with Struts2.x" New topic
Author

Can we integrate Struts1.x with Struts2.x

Tom Schildt
Greenhorn

Joined: Oct 09, 2013
Posts: 2
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

Joined: Oct 29, 2001
Posts: 8971
    
    9

Welcome to the JavaRanch.
The Migration Strategies page in the documentation indicates it can be done.
There's a also tutorial here.


[How To Ask Questions On JavaRanch]
Tom Schildt
Greenhorn

Joined: Oct 09, 2013
Posts: 2
Thank You !!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can we integrate Struts1.x with Struts2.x