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

  • Home
  • SEARCH
  • 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 5955371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:06:17+00:00 2026-05-22T18:06:17+00:00

I had a sample HelloWorld Example of Struts 2 from web. Its struts.xml contains:

  • 0

I had a sample HelloWorld Example of Struts 2 from web.

Its struts.xml contains:

<struts>
    <package name="default" extends="struts-default">
        <action name="HelloWorld">
            <result>/success.jsp</result>
        </action>
    </package>

</struts>

On running application, I get a warning stating that:

No configuration found for the specified action: ‘HelloWorld’ in namespace: ”. Form action defaulting to ‘action’ attribute’s literal value.

So, on clicking of submit button in index.jsp page, I get Http 404 error(requested resource is not avaiable) error.

  • 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-22T18:06:17+00:00Added an answer on May 22, 2026 at 6:06 pm

    You are coding with the help of vaannilla example that is found on web with Struts2 keyword on Google search.

    Are you using any development tool for coding? At least in Eclipse you can create an empty dynamic web project and then at least you have correct file structure, correctly formed xml templates and so on.

    You have to follow the tutoarial strictly, not leaving anything out and having all files in correct locations. Also xml files on that example are missing some “title” type of rows that can be copied from the template of Eclipse’s hello world example or similar.

    But if you don’t want to stick inside the vaannilla solution, the struts2 official Hello World tutorial has more comprehensive approach on their one. At least there are entire xml files present.

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

Sidebar

Related Questions

I tried a sample project about Hibernate Many-to-Many relationship downloaded from http://www.vaannila.com/hibernate/hibernate-example/hibernate-mapping-many-to-many-using-annotations-1.html Then I
I've had a look at the metronome sample given by Apple, however, the sample
Has anybody come across this? I've taken the GTK HelloWorld sample . It runs
I had created some sample webpages in php and i need to know how
I had tired loading an image form a url below is my sample code
I wanted to try open Hello World from here . I already had Visual
Hi I had download sample gallery resource. If i run it's indicate MyGestureDectector cannot
Hey guys I was wondering if anyone had some sample code for enabling the
I am bit confused with how this shared preference works. I had a sample
I had the following code in a sample application: ostream& operator<< (ostream& os, const

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.