codegenomeproject
Search
MarketplaceModules
PackagesCLIMCP
Sign in
  1. Marketplace
  2. Java
  3. Struts
  4. Migrate to Struts 2.x from Struts 1.x

Migrate to Struts 2.x from Struts 1.x

Proprietary

Comprehensive migration from Struts 1.x to Struts 2.x framework.

org.openrewrite.java.struts.migrate2.MigrateStruts2
mod run . --recipe=org.openrewrite.java.struts.migrate2.MigrateStruts2

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

Recipe
  1. Remove a Gradle or Maven dependency struts:struts
  2. Remove a Gradle or Maven dependency org.apache.struts:struts-core
  3. Remove a Gradle or Maven dependency org.apache.struts:struts-taglib
  4. Remove a Gradle or Maven dependency org.apache.struts:struts-tiles
  5. Remove a Gradle or Maven dependency org.apache.struts:struts-extras
  6. Add Gradle or Maven dependency org.apache.struts:struts2-core:2.5.x
  7. Add Gradle or Maven dependency org.apache.struts:struts2-convention-plugin:2.5.x
  8. Migrate Struts 1 Action to Struts 2 ActionSupport
  9. Migrate struts-config.xml to struts.xml
  10. Migrate web.xml from Struts 1 to Struts 2
  11. Migrate Struts 1 JSP tags to Struts 2
  12. Migrate JSP taglib directives for Struts 2
© Moderne, 2026
Recipe indexPrivacyTerms