Webapplication can be run using Struts 1 and Struts 2 running simultaneously

Asked By 70 points N/A Posted on -
qa-featured

Hi,

I wanted to know whether if a web application can be run using Struts 1 and Struts 2 running simultaneously if I have a login screen for the application, and they should have a common Httpsession.

I’m in a process of upgrading the old struts 1 code to struts 2. But I don’t want to convert the entire codes now itself if I have an alternative choice.

Please help me.

SHARE
Answered By 0 points N/A #151620

Webapplication can be run using Struts 1 and Struts 2 running simultaneously

qa-featured

Hello Ave,

Here are details that will help you in what you need to do:

  • Dual processor, shared resources – You will need to add the Struts 2.0 JARs to your existing Struts 1.3 application. Configure S2 to handle
  • Action requests s and let S1 handle, and then do requests. S1 and S2 can be able to run simultaneously within the same web application.
  • You can later on implement new features in the latest version and then move older pieces as needed.

Regards,

Nicke

 

Login/Register to Answer

Related Questions