You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Venkatesh Jayapal <va...@gmail.com> on 2006/05/31 13:54:00 UTC

Fwd: JspC.bat

 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

Re: JspC.bat

Posted by Venkatesh Jayapal <va...@gmail.com>.
Thank you Mark,


Venkly



On 5/31/06, Marc Farrow <ma...@gmail.com> wrote:
>
> 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 <va...@gmail.com> 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 <ma...@gmail.com> 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 <va...@gmail.com> 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
>
>

Re: JspC.bat

Posted by Marc Farrow <ma...@gmail.com>.
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 <va...@gmail.com> 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 <ma...@gmail.com> 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 <va...@gmail.com> 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

Re: JspC.bat

Posted by Venkatesh Jayapal <va...@gmail.com>.
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 <ma...@gmail.com> 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 <va...@gmail.com> 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
>
>

Re: JspC.bat

Posted by Marc Farrow <ma...@gmail.com>.
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 <va...@gmail.com> 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