tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Gin" <Gin_C...@tvratings.com>
Subject RE: Precompile JSP
Date Thu, 15 Nov 2001 20:14:10 GMT
Doesnt Tomcat offer anything like a precompile when starting up the server?
In BEA WebLogic, you can edit the XML configuration files so that it will
automatically precompile ur JSPs on startup. It takes a bit longer to start
up the server.. but then u dont need ants or have to go through each page.
Any Tomcat contributors out there want to help answer this one?
-Tim

-----Original Message-----
From: Tom Drake [mailto:rtd@pobox.com]
Sent: Thursday, November 15, 2001 3:09 PM
To: Tomcat Users List
Subject: Re: Precompile JSP


Tom:

I'm not aware of any such option. I have always just lived with this
recompiled all JSP's. You could create an Ant Task for this.
It could be a very nice addition Ant's optional taskdefs.

Tom Drake

----- Original Message -----
From: "Tom Parker" <tomp@econz.co.nz>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>; "Tom Drake"
<rtd@pobox.com>
Sent: Thursday, November 15, 2001 11:54 AM
Subject: RE: Precompile JSP


| > Try bin/jspc.bat or jspc.sh
|
| I would like to compile my jsp's as a test before I deploy it and see if
it
| works. I spend quite a lot of time changing stuff, deploying, loading in a
| web browser and seeing jsp compiliation problems.
|
| It would be nice to have jspc compile my jsp's during the deployment
| process. I tried this and it seems to recompile everything, rather than
only
| those files that have changed.
|
| Is there a depends option to jspc?
|
| The obvious solution is to use ant to only compile those files that have
| changed, but there doesn't seem to be an equivelent of make's .c.o option
in
| ant. Is there a dependset creator anywhere, if there isn't a generic .c.o
| type task?
|
|
| --
| To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
| For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
| Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
|
|
|


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message