This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Can i obtain the generated HTML? The result of JSP? i'm using struts and working with actions ".do". May i have to extend something in struts to get the generated html? i want this file code to make a specific parse in the html. I already have the parser working perfect, but i still haven't found a way to get the generated code by struts.
The HTML is sent directly to the calling process (usually a web browser somewhere on the network) by the application server.
You might be able to install something that captures that data and does something with it, which is exactly the way proxyservers work (as well as criminals who sit in between webservers and browsers and use this method to steal user information).
Marcio, Do you want to get the generated HTML on your computer or on the server? If on your computer, it's as simple as doing a "save as" on the page. If on the server, you may want to look into a testing framework (like httpunit) that lets you run actions and get their generated results.