aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Getting Error on Upload Process Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Getting Error on Upload Process" Watch "Getting Error on Upload Process" New topic
Author

Getting Error on Upload Process

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1466
    
    1
I am getting an Error: Form Elements must not be named "submit" from the following HTML and Servlet




Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Sounds like the library is yelling you at not putting a name on the submit button and the name should not be submit.

Eric
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1466
    
    1
Eric Pascarello wrote:Sounds like the library is yelling you at not putting a name on the submit button and the name should not be submit.

Eric


I realize that but do you see in my code where I have named anything "submit"?

Any way I found out it was a jquery 1.3 and jquery.form version issue. I upgraded jquery.form and it works.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61436
    
  67

Getting snippy isn't a winning strategy.

Where exactly is this error being reported from? And by whom?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1466
    
    1
Bear Bibeault wrote:Getting snippy isn't a winning strategy.

Where exactly is this error being reported from? And by whom?


Did not mean to sound snippy, I jsut could not see what was wrong. The error was an alert from js. Turns out the "submit" was a problem in the jquery.form.js code. I have it uploading okay now. However, I have another issue with this page and the servlet.

I have added an input field to the page but the servlet returns blank.




 
 
subject: Getting Error on Upload Process