To call the servlet, specify a URL or HTML form that addresses the HTTP server where the servlet is running and the servlet.
<A href="http://111.222.333.4/servlet/webacc"> or <A href="/servlet/webacc"> if referenced from a page on the server.
You can pass additional information by specifying a question mark after the name of the servlet, followed by the data. For example:
<A href="/servlet/webacc?User.context=xyz&merge=login">
In a form:
<FORM method=Post action="/servlet/webacc">
You can pass additional information using HTML form controls.
For maximum portability when using different servlet managers, specify only /servlet/webacc as the action in a FORM tag. Some servlet managers might not send the data after the question mark. Information that would have gone after the question mark can be added as hidden input fields in the form. For example:
<INPUT type="hidden" name="User.context" value="xyz"> <INPUT type="hidden" name="merge" value="login">