Um, this might be wrong but I think you could open a connection using URLConnection (or similar), and hit the JSP URL that way.
That should return a response (containing the HTML source) that you can then use for whatever you want. Not tried it though so I could be talking rubbish. Richard -----Original Message----- From: Juan Espinosa [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21, 2006 3:22 PM To: 'Struts Users Mailing List' Subject: OFF RECORD Hi to all, i have a question off record........but is related to web Anyone has documentation or examples of how 1) Compiling a jsp file 3) Executing this jsp file (the servlet generated) 4) Get the html ths jsp generates.... I want to do this programatically .... I want to use the jsps as templates for newsletters.... Thanks Juan Espinosa -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 20/12/2006 15:54 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ *** Disclaimer *** This electronic communication is confidential and for the exclusive use of the addressee. It may contain private and confidential information. The information, attachments and opinions contained in this E-mail are those of its author only and do not necessarily represent those of London Scottish Bank PLC or any other members of the London Scottish Group. If you are not the intended addressee, you are prohibited from any disclosure, distribution or further copying or use of this communication or the information in it or taking any action in reliance on it. If you have received this communication in error please notify the Information Security Manager at [EMAIL PROTECTED] as soon as possible and delete the message from all places in your computer where it is stored. We utilise virus scanning software but we cannot guarantee the security of electronic communications and you are advised to check any attachments for viruses. We do not accept liability for any loss resulting from any corruption or alteration of data or importation of any virus as a result of receiving this electronic communication. Replies to this E-mail may be monitored for operational or business reasons. London Scottish Bank PLC is regulated by the Financial Services Authority. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]