I'm builing a web application using Struts 1.3 for a class project, and I'm having some problems with the AJAX compatibility of Struts 1.x (I hear 2.x is way better with AJAX and jQuery).
Thank you for the reply, this is the updated problem:
I'm currently using a jquery UI modal form in the same jsp, and want to send the form data to a Struts Action when the user presses "create new venue" using AJAX. How do I go about sending (and retrieving) the data between the form and the Struts action?
In other words, the connection between:
"Create new venue": function() {
$.ajax({
url: "/registered/insertVenue.do",
data:
});
(this is the code for my sumbit button for the modal form, I don't know how to attach the data in a way for it to be readable by the Struts Action)
and the 'execute' method of the Struts Action (which returns an ActionForward or null).
Thanks again! :)