In my project we have to store user's currently displayed page content(html code) in DB. This is useful for CSR to see user's current page. I'm planning to use servletFilter's concept but not sure how to get the html code as a stream/string inorder to store in DB. I appreciate any suggestions/comments?
Use a filter with a response wrapper then save the data before sending to the user. You can use this as a jumpstart:
SCJP, SCWCD, SCBCD, IBM CSD WebSphere v5, <br />A+, MCP 2000 and 2000 server, CST, and few incompleted certification tracks.<br /> <br />Ivory Coast<br /> <br />Analyze your web Request/Response @ <a href="http://webtools.servehttp.com" target="_blank" rel="nofollow">http://webtools.servehttp.com</a> down for a while...
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com