Hello,
   We're currently successfully running a combined Struts1 / Struts2
environment in some of our products.  This allows us to leverage legacy
S1 pages in new products without investing in rewriting as S2.  Its
accomplished by starting the S2 controller from the web.xml file.  Not
too difficult or problematic.  
Cheers,
        Andrew


    <!-- Struts2 Controller Startup -->
    <filter>
        <filter-name>struts2</filter-name>
 
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndEx
ecuteFilter</filter-class>
    </filter>

    <filter-mapping>
        <filter-name>struts2</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>




-----Original Message-----
From: Stephen Turner [mailto:stur...@mit.edu] 
Sent: Monday, August 30, 2010 11:06 AM
To: Struts Users Mailing List; Greg Lindholm
Subject: Re: Running Struts1 and Struts2 together?

On Mon, 23 Aug 2010 14:22:54 -0400, Greg Lindholm  
<greg.lindh...@gmail.com> wrote:

> Is there any issues with running Struts1 and Struts2 together in the
> same application?
>
> I have a couple old Struts1 applications which I plan on converting to
> Struts2 over time, but would like to start doing new development in
> Struts2 immediately while converting the Struts1 screens and action
> over bit-by-bit as needed.
>

How is this going Greg? I'm interested because I have a project that
could  
use this solution, but I've no idea how big a job it is, what the
pitfalls  
are etc.

Thanks,
Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to