When a URL is clicked or form is submitted, the browser sends the action to the HTTP server which in turn calls the WebAccess servlet. If action is specified, the servlet call the providers, the generates the resulting HTML page using a template. If no template is specified, Login.htt is used.
To specify a template, include “merge” accompanied by the name of the template to be used.
Templates always end with an extension of .htt, but the extension is not included when specifying the name of the template. For example, “. . .&merge=addrbook” will use the template addrbook.htt to generate the HTML that will be sent back to the browser.
<A href="/servlet/webacc?Provider.name=LDAP&action=Directory.Search &merge=addrBook">Login</A>
<FORM method=post action=/servlet/webacc> <INPUT type=hidden name="Provider.name" value="GWAP"> <INPUT type=hidden name="merge" value="webacc"> <INPUT type=hidden name="action" value="User.Login"> User Id: <INPUT type=input name="User.id" value=""><BR> Password: <INPUT type=password name="User.password" value=""><BR> </FORM>
Provider.name is not necessary since GWAP is the default provider for the WebAccess servlet.