yes, the files have to be compiled and the class files have to be
put in the classpath.
-----Original Message-----
From: carnell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 4:59 PM
To: [EMAIL PROTECTED]
Subject: Re: Pre-compiling JSPs
Thanks, I got jspc.sh working.. forgot about the JAVA_HOME, TOMCAT_HOME etc.
/opt/tomcat/jakarta-tomcat/bin > ./jspc.sh -webapp
/opt/tomcat/jakarta-tomcat/webapps/ROOT
It just seems to produce a whole lot of files with the Java extension rather
than a class?
Do I need to further compile them?
Craig
[EMAIL PROTECTED]
---------------------------------------------------------------------------
Craig Carnell, Praktikant
WA46 Operationelle Analysen Luftwaffe
IABG MbH Einsteinstr. 20 85521 Ottobrunn
Phone : 0049-89-6088-2556 Fax : 0049-89-6088-3608
Mobile: 0049-179-3143062
Email : [EMAIL PROTECTED] WWW site : www.iabg.de
----------------------------------------------------------------------------
----- Original Message -----
From: "G.Nagarajan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "C S Carnell" <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 4:40 PM
Subject: RE: Pre-compiling JSPs
> There is an utility called jspc. To use the generated servlets, the
web.xml
> file has to be modified to specify the servlet mapping for the jsp file.
If
> this is not done, tomcat will ignore the class and create the temporary
> servlet in the work directory.
>
> Resin has an option for pre-compiling jsps. I don't know about JRun.
>
> And has anyone noticed that in Tomcat 3.2.1, it takes a very long time to
> compile a jsp file. It seems to be slower that the earlier version. Is
there
> any solution for it?
>
> Thanks
> Nagaraj
>
>
> -----Original Message-----
> From: carnell [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 11, 2001 4:10 PM
> To: Tomcat-user
> Subject: Pre-compiling JSPs
>
>
> There does not seem to be much documentation on precompiling JSPs. How
would
> I precompile a bunch of JSPs (used in the ROOT webapp on a remote linux
> machine), for instance index.jsp(or all files in the directory).
>
> Is build.sh appropiate? I do not need to deploy, I simply upload my
changed
> JSP to the webserver
> -- or jspc?
>
> Thanks,
>
> Craig.
> [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]