Hi all, I need a sanity check on my strategy to best fulfill the requirements of a project. Basically I have an xml file that will need to be parsed periodically and html output displayed (xslt is not an option).
My thought is that I can use a single .jsp page to check an application variable that stores the last parsed date to know if it's 'time' (x days have passed) to re-generate the file. If it is, I can parse the xml via jsp and write the results to a static html file which is then dynamically included into the same jsp for rendering, if not I skip the regeneration and simply include the html file. including the html file rather than just rendering the display is to save the response / processing time for subsequent visits.
My question is whether this is a smart way to go about things, my specific concerns are 1) will I be able to overwrite an html file that may or may not be in use by visitors and 2) will the dynamic include via jsp work this way without a page redirect.
Thanks in advance for any thoughts and enduring the long post -
b