tags:

views:

65

answers:

4

How to call servlet program using HTML.

A: 

Servlets are a way of generating and serving HTML files (among other things). You could link to (<a href...>) or reference (e.g. <iframe>) a servlet in HTML. You could also submit a form, or make a AJAX request, to the servlet. If you say what you're trying to accomplish, we can help more.

Matthew Flaschen
A: 

HTML Calling Servlet. - Java

http://www.daniweb.com/forums/thread108210.html

ratty
A: 

Place a link or form whose target is the servlet url. It's invoked through the user clicking or submission of forms.

Winston Chen
A: 

One of the most common ways is to make an HTML form and set its target as per the url pattern set in servlet-mapping tag in web.xml

netlogger