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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:35:12+00:00 2026-05-27T01:35:12+00:00

Making a new question, as was suggested to me. I’m trying to send data

  • 0

Making a new question, as was suggested to me.

I’m trying to send data from a jQuery UI modal form to a Struts ActionForm using AJAX. The URL looks something like this (using HTTP GET):

localhost.../insertVenue.do?param1=param1&param2=param2...

However, when I try to to do this I get 404 not found. /insertVenue.do is found, but not the URL with the extra parametres.

Hope anyone can shed some light on the issue!

This is what my struts-config.xml looks like (for the specific action):

<action path="/registered/insertVenue" type="actions.InsertVenueAction" name="venueFormInsert"></action>

Thanks! 🙂

  • 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-27T01:35:13+00:00Added an answer on May 27, 2026 at 1:35 am

    You must define a Form Bean to carry the values of your parameters in your struts-config.xml. In your example above you have mentioned “venueFormInsert”. You’ll want something like this…

    <form-beans>
        <form-bean name="venueFormInsert" type="forms.venueFormInsert" />
    </form-beans>
    

    Then define this Java Bean to match your expected parameters

    public class JmsMessageForm extends ActionForm {
    
        private String id;
    
        public String getId() {
            return id;
        }
    
        public void setId(String id) {
            this.id = id;
        }   
    }
    

    Other than that you havent stated what the actual URL you are using. It must have the context root included and the “path” you listed above from your struts-config.xml. So something like this if your appication’s context root is called “myapp” when deployed…

    http://server.acme.com/myapp/registered/insertVenue.do?id=5

    This venueFormInsert bean will then be passed automatically to your action handler InsertVenueAction.execute() and be populated with the URL parameters passed in

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

Sidebar

Related Questions

I'm a new Python programmer who is making the leap from 2.6.4 to 3.1.1.
So I am making a class which handles my file uploading from a form.
I'm making a new question seeing as the other question is inactive and it
Starting from the top, I am making an application that in the new project
I'm pretty new to web development. Lately I have been making a site using
I'm making a new Mac OS X application. (not an iPhone app) This is
I am working on making a new SQLite database. Obviously for a number of
I am currently building an making my new website. It uses one page and
In the code below I'm making a new NSString with alloc and initializing it
I am currently in the process of making a new ASP.net MVC website, and

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.