tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jones" <kev...@develop.com>
Subject RE: Can JSPs be precompiled?
Date Fri, 15 Sep 2000 07:05:51 GMT
Why not just compile the java files after running jspc?

BTW there is a jspc.bat file so it would be trivial to amend this to call
javac after the 'pre-compilation' phase

Kevin Jones
DevelopMentor
www.develop.com

> -----Original Message-----
> From: Doug Ahmann [mailto:dahmann@macromedia.com]
> Sent: 15 September 2000 02:37
> To: tomcat-user@jakarta.apache.org
> Subject: RE: Can JSPs be precompiled?
>
>
> > Rick Horowitz wrote:
> > >
> > > Does Tomcat have an option somewhere to precompile jsp files into
> > > .java/.class equivalents?  It's real slow going through the
> pages one by
> > > one and having them compile...yes, I'm using jikes...still slow.
> >
> > jspc will do that.
> > See
> > http://jakarta.apache.org/tomcat-4.0/jakarta-tomcat-4.0/jasper/doc
> > /jspc.html
>
> I was looking for the same thing recently.
>
> Its my understanding that jspc generates the .java files for you, but it
> doesn't actually compile them into .class files. Am I wrong?
>
> Maybe somebody else out there knows of a way to make it so that all your
> .jsp files in a web app are compiled ahead of time (vs.
> run-time). It would
> be nice to check that everything does compile without having to
> touch every
> file by running them.
>
> Anybody?
>
> ---------------------------------------------------
> Doug Ahmann
> Macromedia, Inc.
>


Mime
View raw message