How to store a copy of complete web page at server side as soon as it is rendered on client browser?
<p>Requirement is to keep a copy of complete web page at server side same as it is rendered on client browser as past records.These records are revisited. </p>

<p>We are trying to store the html of rendered web page. The html is then rendered using resources like javascript, css and image present at server side. These resources keep on changing. Therefore old records are no longer rendered perfectly.</p>

<p>Is there any other way to solve above? We are also thinking converting it into pdf using IText or apache FOP api but they does not consider javascript effect on page while conversion. Is there any APIs available in java to achieve this? </p>

<p>Till now, no approach working perfectly. Please suggest.</p>

<p>Edit:
In summary,requirement is to create a exact copy of rendered web page at server side to store user activities on that page. </p>
