Re: Compiling a JSP programmatically

From: P.Hill (goodhill_at_xmission.com)
Date: 01/30/04


Date: Fri, 30 Jan 2004 11:33:15 -0700


P.Hill wrote:
> I have the mail part all worked out with JavaMail, so I'm not interested
> in that side, but I'm still trying to find the JSP to HTML part.

Okay, so this gets me started:

http://www.caucho.com/quercus/faq/question.xtp?question_id=302
says:

resin> bin/httpd.sh -conf conf/resin.conf -compile /index.jsp /page.jsp ...

http://www.progsoc.uts.edu.au/lists/progsoc/2000/May/msg00070.html

If you're using tomcat, I think you could use

$TOMCAT_HOME/bin/tomcat.sh jspc file.jsp

-Paul