• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Getting Error on Upload Process

 
Ranch Hand
Posts: 2274
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am getting an Error: Form Elements must not be named "submit" from the following HTML and Servlet




 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 2274
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Sheriff
Posts: 67753
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Getting snippy isn't a winning strategy.

Where exactly is this error being reported from? And by whom?
 
Steve Dyke
Ranch Hand
Posts: 2274
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.




 
It's a pleasure to see superheros taking such an interest in science. And this tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic