• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending a form to a servlet using javascript  RSS feed

 
Jc Frane
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys.

I just want to to ask how can I send a form to a servlet using javascript?

Here's my form:




This button will responsible for sending:



Note that I include file uploading in the form.

Thank you very much!

Your responses will be much appreciated!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "send with JavaScript"? And why do you need to do it?

And why are you using scriptlets in a JSP when they are obsolete?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!