File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
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()
 
Don't get me started about those stupid light bulbs.
 
subject: Calling a Servlet (Urgent)