Arun-

download and uncompress apache-tomcat-6.0.14-src distro from
http://tomcat.apache.org/download-60.cgi
cd to the folder you downloaded \apache-tomcat-6.0.14-src
ant
use the jasper.jar located in \output\build\lib

M--
----- Original Message -----
From: "Arun" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, October 11, 2007 11:28 AM
Subject: Re: Precompile JSPs


> Filip,
>
> That works cool.
> Thank you for the reply.
>
> I do not know why the one specified in tomcat docs does not work. All I
know
> is that it throws an error telling me that it cant find
> org.apache.jasper.runtime package. But that is there in the lib directory
of
> tomcat's home in jasper.jar. All I know is that the ant script is not
> picking up my jasper.jar. I have correctly included the
> catalina-tasks.xmlas well.
>
> I compared with yours , all I found is that the one in doc uses a default
> jasper task, And you used your own(jasper2). But the Jasper shown on
tomcat
> docs works correctly though , but the javac fails.
>
>
>
>
>
>
>
> On 10/11/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> >
> > here is a script that precompiles just like Tomcat runtime, meaning, you
> > still keep the ability to reload your JSPs instead of converting them to
> > servlets
> > http://people.apache.org/~fhanik/tomcat-6-precompile.xml
> >
> > Filip
> >
> > Arun wrote:
> > > Hi,
> > >
> > > I want to precompile jsps for apache tomcat 6. Which ant task should i
> > use .
> > > Is there a simple example for that.
> > > I am using a build.xml exported from MyEclipse. Where would the JSP
> > classes
> > > go in WEB-INF/classes. What structure does it have.
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------
> > >
> > > No virus found in this incoming message.
> > > Checked by AVG Free Edition.
> > > Version: 7.5.488 / Virus Database: 269.14.7/1062 - Release Date:
> > 10/10/2007 5:11 PM
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Thanks
> Arun George
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to