aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes how to call servlet from javascript without using form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to call servlet from javascript without using form" Watch "how to call servlet from javascript without using form" New topic
Author

how to call servlet from javascript without using form

krunal prajapati
Greenhorn

Joined: Apr 18, 2011
Posts: 19

hello,

I want to call servlet from javascript and my index.jsp is



I tried both javascript method
and my servlet class is mainDAO.java is

in doGet method



then how can I call servlet without using form ans submit button


thanks,
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

It's not clear what your issue is. Please be more explicit.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to call servlet from javascript without using form