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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T14:05:16+00:00 2026-06-16T14:05:16+00:00

I have never used annotations in Struts2. But now, while going through some hibernate

  • 0

I have never used annotations in Struts2.

But now, while going through some hibernate annotations tutorials, I got this question in my mind.
Is it possible that in Struts2 I can use both annotations and xml for configuring my action classes? i.e. is it possible that I can configure some of my action classes in struts.xml and rest of them using annotations?

I will anyway try to code this when I’ll get a chance (right now, using a system with no IDE and slow internet). Is there anybody else who has tried this?

  • 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-16T14:05:17+00:00Added an answer on June 16, 2026 at 2:05 pm

    Yes dude I have tried and it worked pretty well. I had done it in the beginning of my struts learning assignments where i tried doing many things into single project and I did configure some of my action classes in struts.xml and rest of them using annotations.
    You can try when you will get chance, It works 100%. Dont worry 🙂

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

Sidebar

Related Questions

I have never used Try-catch in my code before, but now I need to
I have never used variadic templates myself, but think I could need them now.
I have never used SVN, but am familiar with some SM (source safe a
I have never used JodaTime before, but answering this question, How to get ordinal
I have never used Prototype before. But now when I'm using Rails, it seems
I have never used Perl, but I am really impressed by the ack ,
I am new ASP.NET and I have never used a GridView or DataGrid, but
G'day, I have never really used excel formulas before but need to convert a
I have never used Unit Testing and I understand the uses of it but
I have never used a Transaction, Commit and Rollback before and now I need

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.