http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper/docs/api/index.html

Usage of the JspC class.  This should be what you want.

I work in Windows 95% of the time, and I'm a simplicity freak, so I tend do do 
things, most of the time, with batch files called from UltraEdit.  Anyway, this 
is relevant because one of the steps in my typical build process is a 
compilation of all JSP's.  I use this class to do that.  I can give you the two 
lines from my batch file that does this if it would be helpful, but I tend to 
think the javadocs will get you where you want to go.

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

On Wed, December 22, 2004 12:32 pm, Matt Bathje said:
> [EMAIL PROTECTED] wrote:
>> If they are uploaded via a web interface, I assume it's your own
>> interface... If so, why not just make part of the upload process a
>> compilation?  You can compile it and overwrite the working copy in
>> Tomcat, changes should be there instantly.  A bigger plus too is that
>> you can catch any compile-time errors at that point and report back to
>> the user with the trace, so you would never have any bad JSP's in
>> production.
>>
>>
>>
> 
> Well...that is my question...I can't figure out how to do that
> compilation :)
> 
> 
> Matt
> 
> ---------------------------------------------------------------------
> 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