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 8098815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:11:36+00:00 2026-06-05T22:11:36+00:00

I have one legacy web application based on struts2 (primarily using annotation). While debugging

  • 0

I have one legacy web application based on struts2 (primarily using annotation). While debugging i find that all the dependencies (like service layer and dao layer)
are injected automatically in struts 2 action. I was expecting there must be some spring interceptor defined in struts.xml which must be doing this.

But i did not find any spring related interceptor over there. Also in web.xml i did not find any related stuff which must be doing this kind of work.
I am not sure how dependencies (with spring) are injected in struts2 action…

I can see struts2-convention-plugin-2.2.3.1.jar file in class path. Does it mean filterDispatcher looks for this jar at run time and if it finds it, inject the dependencies in action. Does any Interceptor also help during this process?

  • 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-06-05T22:11:38+00:00Added an answer on June 5, 2026 at 10:11 pm

    Please refer to struts-plugin.xml of struts2-spring-plugin-x.x.x.x.jar, you can find the config about object factory and autowiring interceptor . It uses the plugin feature of struts2, and you may search ‘plugin’ from Struts Guide for details.

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

Sidebar

Related Questions

I have a legacy web application that was written long before there were even
I'm building a new ASP.NET web application based on a legacy one (Classic ASP).
I have two data sources: a legacy one (web service) and a database one.
I have followin code in one legacy script: while (<FPTR>) # While still input
I have a legacy web-site that I am maintaining (built mostly in classic ASP
So we have a busy legacy web service that needs to be replaced by
I have a legacy application that I'm trying to port to Java EE. Presently
I have legacy COM component, and my mission is to write web service that
I am working on a legacy application that contains references to two .asmx web
I have a need to migrate a legacy, desktop based, single user, accounting application

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.