File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Calling a Servlet (Urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Calling a Servlet (Urgent)" Watch "Calling a Servlet (Urgent)" New topic

Calling a Servlet (Urgent)

Monika Sharma

Joined: Jan 17, 2001
Posts: 1
How can I call a servlet from a javascript function?
Please reply ASAP.
ali farid
Ranch Hand

Joined: Aug 26, 2000
Posts: 60
I think that you will have to call the submit function of the form through javascript and then that form will call the servlet.
I agree. Here's the link:
subject: Calling a Servlet (Urgent)