> I'm attempting to use the jQuery Form Plugin on a page that has > multiple forms. The particular form I am using to allow the uploading > of files is the third form on the page. I'm also using that form > within a modal dialog box, using the SimpleModal jQuery plugin. I > have a Java Servlet handling the form submission. > > I am having a problem when I try to upload a file. It looks like the > request never gets to my servlet. When I fill out the other fields of > the form out, leaving the upload blank, it's working fine. However, > once I attempt to include a file to upload, the servlet never gets > invoked. > > I understand that the XMLHttpRequest cannot send files over, but that > the Forms Plugin utilizes an iFrame to do so. However, it's not > working in my case. I've read a blog in which the person is able to > address this, found here: > http://www.ender.com/2008/04/jquery-the-jquery-form-plugin.html. > I tried his suggestions of including a hidden field in my form, but > it's still not reaching my servlet. > > Could the problem actually be the fact that I have more than one form > on the page? Any help would be greatly appreciated. Thanks.
The Form Plugin fully supports multiple forms on a page so that shouldn't be causing your problem. Can you post a link to your page?