Return to CLIP Main Page
Next: Automatic Code Downloading Procedure
Up: Document: pillow_sl_imperial
Previous: Automatic Code Downloading for
- A click in a link of the query form starts the downloading of the
code (alternatively using multipart/mixed mime type).
- The broser starts a wpl_handler as the document has type
application/x-prolog.
- The wpl_handler process starts a Prolog engine (configured
as an active module) if necessary.
- Then, through a call ``loadcode(File)'' the handler
asks the active module to read the code.
- The active module reads the code and compiles it.
- wpl_handler waits for the active module to complete the
compilation and writes a ``done'' message to the browser.
- The browser receives the ``done'' message.
- Now, when the ``submit'' button in the
form is pressed, the browser starts a wpl_questioner as a
handler of the form data.
- The wpl_questioner process translates form data
to a dictionary FormData, passing it to the active module
through a call answerform(FormData,FormReply).
- The active module processes this request, and returns in
FormReply a WWW page (as a term) containing the answer.
- The wpl_questioner process translates FormReply to
raw HTML and gives it back to the browser, dying afterwards.
Subsequent queries proceed at 8.
<herme@fi.upm.es>-< webmaster@clip.dia.fi.upm.es>
Last updated on Mon Mar 31 20:49:44 MET DST 1997