Have you looked at Tomcat's Jasper compiler?

http://www.docjar.com/docs/api/org/apache/jasper/compiler/Compiler.html

I would assume that with the jars in place and some coding to setup the
context, it could be pretty easy to do as you wish.

-Wes 

> -----Original Message-----
> From: Juan Espinosa [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, December 21, 2006 10:22 AM
> 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]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to