This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • 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: 66188
151
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!