title: how to save a webpage as pdf in java?
body: <p>I have a page that built with JSP, struts and jQuery that its data come after page loading.</p>
  
  <p>I want to save the page as PDF-file with all contents and the same format with a button click. I can convert HTML to PDF and if I can save the page with all contents, I can convert to PDF.</p>
  
  <p>The users can load the page with any browser and I want sth to act in all browsers.</p>
  
  <p>How to save a page with this properties as pdf?</p>