Form .submit question

Form .submit question

I inheirited an application using JQuery and understand most of it but there's something I can't figure out.
 
The JSP declares a form

<

form method = "post" src = "SomeServlet" target = "SomeFrame.html" id = "someForm" >

Notice that it says src= not action=

In javascript, a function is attached to one of the forms buttons and that javascript eventually calls

var
mainUploadForm = $( "#mainUploadForm" );

mainUploadForm.submit();

When I compile their application as is, clicking on the button does actually submit the form to SomeServlet.

When I make any changes, it doesn't submit the form, or it calls the servlet but the form fields are missing from the request.

So I don't know how "src=" is working as "action=" in their version, and I don't know what could be happening in my code to break it (since it shouldn't work in the first place!).

 

Thanks,

rcable