Craig McClanahan wrote:
>
> scan.  When I write my servlet or JSP page, I know where the hyperlinks are
> already, and can encode them suitably.  I want my servlet container to send the
> bytes of my response back to the client as fast as it possibly can.
>

I was reading a little deeper in the Dynamo documentation and it looks
like the way they do auto-rewriting is by 'page precompilation' as
described here:

"Dynamo also uses page compilation to preprocess pages that serve
dynamic content. For example, session tracking requires that links
(anchors, forms, images, etc.) in an HTML page be rewritten to include
the session ID for non-cookie browsers. When Dynamo's Page Compiler
servlet processes an HTML file, it also examines the file for such links
and marks them for rewriting when the page is served. The alternative to
preprocessing the pages is to parse the output of the page when the page
is served, looking for special tags and content, which is orders of
magnitude slower than rendering a preprocessed page."

It seems like a similar strategy could be employed for standard
servlets/jsps using a third party product to do the preprocessing which
would maintain your independence from a particular app server
implementation.  Of course you are still tied to the preprocessor.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to