next up previous
Next: The URL rewrite module Up: Implementation Previous: The URL scrambler

The servlet module

We used a servlet engine and an existing servlet written for the Apache Web Server to facilitate the communication with the scrambler while parsing a requested HTML document. This servlet parses the document and provides hooks to add special handlers that cope with specified HTML tags/attributes.

We used this functionality to create handlers for all HTML tags that contain references to other resources. These handlers extract the referenced URLs, send them to the scrambler and replace them with the resulting SURLs.



Tim Wellhausen
2000-01-20