if i'm not mistaken, he is talking about a DOM like solution too--the clone
is necessary because DOM objects are not thread-safe. The servlet would
contain the master document, and the clone it for manipulation on a request
basis.
--jim
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Nic
Ferrier
Sent: Thursday, July 20, 2000 10:17 AM
To: [EMAIL PROTECTED]
Subject: Re: Cloning or File-IO in my servlet?
>>> Joost Verhagen <[EMAIL PROTECTED]> 20-Jul-00 2:51:11 PM >>>
>> It seems to me that the best way to do is read in the
>> XML structure and then parse through the XML structure
>> sending output to a stream. That's not cloning. It would be
>> quite quick.
>I'm afraid not: we still have the file-io when parsing the xml.
Huh?
Not if you read in the XML into a data structure.
I'm talking about a DOM like solution.
Nic
___________________________________________________________________________
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
___________________________________________________________________________
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