This chapter describes how ZAP templates are called from web pages.
If ZAP is installed as an Apache module according to the documentation included with the distribution, then ZAP is invoked simply by addressing the filename of the desired template file in the normal way: e.g. in a form:
<FORM METHOD=GET ACTION="http://myserver.com/demo/mysearch.zap"> |
Or in a conventional HTML link:
<A HREF="http:mysearch.zap?id=7432"> MY RECORD! </A> |
In the Apache setup file, you decide what suffix you want to use for the files. We use ".zap" in all of our examples, but this is not a law: You may already have another application which uses the .zap suffix, and in that case you may wish to select a different one for ZAP.