This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Is it possible to insert the output of a JSP into an HTML file (or a text file)? What I am trying to do is to take a compiled JSP, and convert that completed page into an HTMl file (or ascii text file) whose contents look like the source file from within Internet Explorer.
You could create a simple Java client (like a getURL() client) that makes an HTTP request to your application server for your JSP page -- it would send a legal HTTP request for the page and then listen for the response -- you could then strip out the headers and write the rest of the information to a file -- thus saving the <HTML> code. Here's an example of GetURL that I found by doing a quick search google. (fixed the link) ------------------ - Jessica Bradley HP Bluestone [This message has been edited by Jessica Bradley (edited November 02, 2001).] [This message has been edited by Jessica Bradley (edited November 02, 2001).]