tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wentzel <>
Subject RE: How do I precompile JSP files for final Production use?
Date Tue, 23 Jan 2001 13:02:55 GMT
> I don't want the files to be compiled at startup. I don't want them
> to ever have to be compiled once installed on the users machine.
> I want to compile them, package the .class files and ship my 
> application.
> Has anyone tried this with success? I don't want to install the JDK on
> the users machine, as I assume I will have to. Just the JVM.

You wouldn't have to install the JDK(or the JVM for that matter, unless you
are running applets as well as servlets) on every users machine only the
that is running tomcat.  The way JSP works is it is a server side technology
(hence the Server in Java Server Pages).  The servlet, or jsp, is run
on the server and the HTML/XML/WML/... that is generated is then streamed
down to the user who made the request.  The compilation would only
occur at server startup not at client startup.  This would be relatively
transparent to all users(might cause a slight bubble of time at server
startup but it wouldn't be too significant and it would only be once).

Michael Wentzel
Software Developer
<A HREF="">Software As We Think</A>
<A HREF="">Michael Wentzel</A>

View raw message