The moose likes HTML, CSS and JavaScript and the fly likes Calling a Servlet (Urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Calling a Servlet (Urgent)" Watch "Calling a Servlet (Urgent)" New topic
Author

Calling a Servlet (Urgent)

Monika Sharma
Greenhorn

Joined: Jan 17, 2001
Posts: 1
Hi,
How can I call a servlet from a javascript function?
Please reply ASAP.
Thanx..
Monika
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.
document.myForm.submit()
 
jQuery in Action, 2nd edition
 
subject: Calling a Servlet (Urgent)
 
Similar Threads
Export in Excel
Is there any way to get Servlet Init Parameter using EL?
How can I change the sdk version of Websphere 4 if I already install it
Capturing Form Data
javascript, servlets and SVG