How do I set up my Tomcat 5 to precompile all of my JSP files?
Thanks,
Ben
On Fri, Jul 16, 2004 at 11:30:01AM -0500, Hofmann, Benjamin wrote:
: How do I set up my Tomcat 5 to precompile all of my JSP files?
If you use Ant to build your app, you can follow the instructions in the
Tomcat docs.
-QM
--
software -- http://www.brandxdev.net
tech news --
You can't. You need use Ant to do this.
Ta
Matt
-Original Message-
From: Hofmann, Benjamin [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 17:30
To: [EMAIL PROTECTED]
Subject: Precompiling JSP How To
How do I set up my Tomcat 5 to precompile all of my JSP files?
Thanks,
Ben
Any
I guess I could use Ant if there is no other way but I currently use
Oracle's JDeveloper because a couple of my sites use Oracle's 9iAS.
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 11:34 AM
To: Tomcat Users List
Subject: Re: Precompiling JSP How
OK. Thanks.
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 11:34 AM
To: Tomcat Users List
Subject: RE: Precompiling JSP How To
You can't. You need use Ant to do this.
Ta
Matt
-Original Message-
From: Hofmann, Benjamin [mailto:[EMAIL
Use this in your build.xml ...
target name=jsp-compile depends=compile description=prcompile the jsps
!-- declare JspC task --
taskdef classname=org.apache.jasper.JspC name=jasper2
classpath refid=classpath/
/taskdef
!-- declare and make scratch dirs for the java files and
Thanks!
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 11:37 AM
To: Tomcat Users List
Subject: Re: Precompiling JSP How To
Use this in your build.xml ...
target name=jsp-compile depends=compile description=prcompile the
jsps
!-- declare
Hi,
when I run that code I get this error No public
no-arg constructor in class org.apache.jasper.JspC,
probably in taskdef
What could be wrong?
Evgeny
--- Tim Funk [EMAIL PROTECTED] wrote:
Use this in your build.xml ...
target name=jsp-compile depends=compile
description=prcompile the
You need common/lib/jasper-compiler.jar in your classpath. [And probably a
couple of other files in common/lib]
-Tim
Evgeny Gesin wrote:
Hi,
when I run that code I get this error No public
no-arg constructor in class org.apache.jasper.JspC,
probably in taskdef
What could be wrong?
Evgeny
---
Hi
I tried to use this build.xml. It help me alot but I still have some
difficulties.
My build.xml is use to compile many other elements.
Because of that build.xml is not located in the directory where are the jsp.
How can I declare the directory where are located the jsp files to
translate ?
You can try to open up all the jsp pages one-by-one. That way all the pages
get complied:).
Job security.
-Y
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: July 16, 2004 10:34
To: Tomcat Users List
Subject: RE: Precompiling JSP How To
You can't. You need use
In the jasper2 task, the uriroot=${build.dir} is where the root of the web
app is located. So you build.xml can be one place, the webapp root can be at
another pllace, and the outputfiles from jspc (and compiled classes) can each
be their own subdirectories.
-Tim
Andre Legendre wrote:
Hi
I
Hi Tim
Thank you for your answer. It is Ok now.
Have nice time
Andre
Tim Funk wrote:
In the jasper2 task, the uriroot=${build.dir} is where the root of
the web app is located. So you build.xml can be one place, the webapp
root can be at another pllace, and the outputfiles from jspc (and
13 matches
Mail list logo