-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

The simple way would be to write your data out via an OutputStream that you
then cache within the HttpSession object. Upon re-displaying that page for
the user, you could then just re-write that OutputStream out again.

If you don't need user level caching of pages and just want something a bit
higher up, you could implement a simple Hashtable caching scheme where the
key is the query_string data and the value is the outputstream data.

If you use ECS <http://java.apache.org/> as your outputstream, then caching
a Document object becomes trivial.

-jon


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to