tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <>
Subject RE: Deploying precompiled jsp without .jsp file
Date Thu, 02 Aug 2001 16:28:31 GMT

	It won't work quite the way that you are proposing, but there is a
way to accomplish this.  First, use|.bat to precompile your JSPs.
(Use the -webxml option).  Now, use javac to compile the .java from jspc to
.class.  Copy this to the WEB-INF/classes or incorporate into a jar in
WEB-INF/lib.  Now modify your web.xml file to include the fragment produced
by jspc.  And that's it.  All of your webapp is now a bunch of servlets
without any JSP files.


> -----Original Message-----
> From: Shahed A Moolji []
> Sent: Thursday, August 02, 2001 12:15 PM
> To:
> Subject: Deploying precompiled jsp without .jsp file
> Hi,
> Is it possible to distribute precompiled jsp's using
> standalone tomcat, but not distribute the .jsp source file ?
> Also, is the same possible when tomcat is integrated with
> Apache etc ?
> ie. I go to and a.jsp does not exist
> under the webapps/<context> directory, but a precompiled class
> does exist under the WORK directory.
> Thanks
> Shahed.

View raw message