Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6684321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:55:36+00:00 2026-05-26T04:55:36+00:00

Primary Question: If my app is CURRENTLY using Struts 1.x – and I am

  • 0

Primary Question: If my app is CURRENTLY using Struts 1.x – and I am considering migrating to EITHER Spring-MVC or Struts2 for the MVC-framework – is there anything about either one that would make it easier to migrate from Struts1.2?

To clarify, I am NOT asking whether SpringMVC or Struts2 is better overall (there are a number of existing Q’s on SO that address this) – just which one is easier to migrate to from Struts1.2.

The point that I am most interested in from a migration perspective: possibility of continuing (in the beginning) to use struts1.x’s taglib within the JSP pages, while changing to Struts2’s (or SpringMVC’s) API on the backend. (In other words, can either of these frameworks support Struts1.x’s taglib as a plugin)? [Note: this is not intended as a long term solution – but would reduce integration pain, since the JSPs would not need to be immediately rewritten. I assume this question makes sense – if not, please expain why]

With that said, I am of course interested in any other migration advantages.


Some background:

I am working on an app whose MVC layer is written via Struts 1.2. We are also using Spring IOC – though the app doesn’t currently have strong integration between the Struts layer and Spring’s DI facilities. (Note: This is something that we plan on correcting when we refactor, but my understanding is that with a bit of planning – this can be done properly/efficiently even when using a Spring IOC+Struts2 combination.)

As part of improving/refactoring the codebase – we would like to upgrade to a more modern MVC framework (so as to eliminate the need for Action/Form classes, and to use Annotation-based configuration when possible, etc) but keep the overall classic-MVC style (i.e. not currently interested in making the leap to JSF, Tapestry, GWT, Flex, Play, etc. I understand that these are very very different things – lumping them together just to give a general idea..) Also, the desire is to go with something with reasonable traction/momentum – so ruling Stripes out for that reason. This seems to only leave Spring-MVC & Struts2 as contenders (though if there is something else with a similar style and with strong industry traction – we would certainly consider it)

It is a given that switching to either of these would require a descent amount of work – but the plan would be to do it on a modular level. For that reason, if either of these supported Struts 1.2’s taglib – it would make switching/testing much easier (as we could then code a particular module’s “Control” implementation in the new API – and have a 2nd server run the old Struts1.2 implementation using the same jsps. QA testing would then be “apples to apples” in a way. Does this make sense, or would this approach (if even feasible) lead to more headaches than it would resolve?

Also, as stated above, while my primary question is about running struts1.2’s taglib with either Spring-MVC or Struts2 – I am also interested in any other MIGRATION advantages for Struts2-vs-Spring-MVC.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:55:36+00:00Added an answer on May 26, 2026 at 4:55 am

    I have not seen support for Struts 1 taglib in any of these frameworks.

    Some minor Struts2 advantages:
    There are a few official references about migrating applications from Struts1 to Struts2
    – http://struts.apache.org/2.2.3.1/docs/migration-strategies.html
    – http://struts.apache.org/2.2.3.1/docs/migration-tools.html

    There is even a Struts1 plugin in Struts2 that allows you to run your actions in Struts2
    – http://struts.apache.org/2.2.3.1/docs/struts-1-plugin.html

    Unfortunately, this same references say that you have to convert your old JSP’s and that is not an easy task.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing unit tests for Spring Framework 2.5 using JUnit. More specifically, I'm using
My primary motivation for asking this question is this uservoice suggestion . Jeff declined
Simple question, how do you list the primary key of a table with T-SQL?
I have quick question for you SQL gurus. I have existing tables without primary
I created the models in a Django app using manage.py inspectdb on an existing
I'm getting the following error in my MVC2 app using Linq to SQL (I
We are using EF 4.2 in an ASP.NET app linked to an Oracle 11
I have a very simple asp.net mvc web app which uses castle active record,
Background: I've got a web app on sub.domain.com. My primary website is on domain.com.
I am currently trying to build a cakephp app that will list items from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.