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
2010-03-04 04:31:33
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
2010-03-04 04:32:50
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
2010-03-04 04:34:28