actually I tried to implement such behaviour, but I think I got the wrong
"hook". I implemented it as a servlet, which then will run at startup - but
the funny thing is, that the server accepts calls to jsps only after the
server is completely finished with initialization. So I start my servlet by
hand now.
If any developer could point me to where I should "hook in" such a feature I
could write a patch for "precompile at startup" since this is a really neat
and useful feature.

pero

> -----Original Message-----
> From: Chen, Gin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 15, 2001 9:14 PM
> To: 'Tomcat Users List'
> Subject: RE: Precompile JSP
>
>
> 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:[EMAIL PROTECTED]]
> 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" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Tom Drake"
> <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]>
> | For additional commands: <mailto:[EMAIL PROTECTED]>
> | Troubles with the list: <mailto:[EMAIL PROTECTED]>
> |
> |
> |
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to