title: How to save content of a page call into a file in jsp/java?
body: <p>In jsp/java how can you call a page that outputs a xml file as a result and save its result (xml type) into a xml file on server. Both files (the file that produces the xml and the file that we want to save/overwrite) live on the same server.</p>
  
  <p>Basically I want to update my <strong>test.xml</strong> every now and then by calling <strong>generate.jsp</strong> that outputs a xml type result.</p>
  
  <p>Thank you.</p>