There is a JSPC ant task that you can call from a build script if you wish.
I was mainly giving you more information to help fuel your searches.  You
can always just use the java -jar command and run a specific class.  So if
you can research and find what class Tomcat (or another servlet container)
calls to compile JSPs you could just do the same thing programmatically.  If
you are just wanting to precompile JSPs, then the ant task might be simplest
(assuming you have ant installed).




On 5/31/06, Venkatesh Jayapal <[EMAIL PROTECTED]> wrote:

Thank you Marc.

          What is that Ant task(jspc). Is that a similar batch file that
will be present in %ANT_HOME%. or do i need to create a build.xml using
Ant.

Venkly



On 5/31/06, Marc Farrow <[EMAIL PROTECTED]> wrote:
>
> JspC.bat is just a windows "batch" file that probably just calls a java
> command to compile the JSPs.  I would search for the jspc compiler.  The
> version of the install you have for Tomcat probably just doesn't have
that
> "batch" file included.  There is an Ant task (jspc) that will do this as
> well.
>
>
>
>
> On 5/31/06, Venkatesh Jayapal <[EMAIL PROTECTED]> wrote:
> >
> > Hi all
> >
> >          i have installed Apache Tomcat 5.5.9 Server. i need to
> precompile
> > JSPs.But that *JspC.bat* is not found in CATALINA_HOME/bin.May i know
> > where
> > it will be? or how to do the same in this Tomcat 5.5.9
> >
> > Regards,
> > Venkly
> >
> >
>
>
> --
> Marc Farrow
>
>




--
Marc Farrow

Reply via email to