Hi,
Has anyone experienced longer response time with cached XML file, read by a script on the page?
I have a
java class that uses JDOM to generate the necessary XML file when the application first loaded. The remaining calls to the
jsp page suppose to be fast since the xml sits on the cache. However the response time`s got really slow after I generate the page with java class instead of generating it in the jsp page itself. Jsp calls the java to ge the xml back
One of the possible thing might be the Flash on ht ejsp page that reads the xml file as its input. Can this be really a reason of the late respond?
Or, am I making a mistake by sending the XML file as a static
string object?
Here is what I have from the highest level:
* Create the Document object with its required structure
* Read this Document object into XMLOutputter object as a string:
String _str = XMLOutputter.ouputString(
doc);
* Return the _str from a static method
* jsp calls the static method, recieves the _str object and the script in the jsp reads the recieved _str.
I`d like to hear from you if you see a problem with this.
Thanks for your time!
Burcu