You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2001/03/02 07:54:13 UTC

cvs commit: jakarta-tomcat/src/share/org/apache/jasper/runtime package.html

costin      01/03/01 22:54:13

  Added:       src/share/org/apache/jasper/runtime package.html
  Log:
  Added documentation about the run-time dependencies of the jasper-generated
  servlets.
  
  In order to deploy pre-compiled servlets or to provide a minimal env.,
  you need to include all the files listed, and follow the initialization
  procedure.
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat/src/share/org/apache/jasper/runtime/package.html
  
  Index: package.html
  ===================================================================
  This package needs to be visible and is used at runtime by the 
  generated servlets. 
  
  <h2>Initialization</h2>
  
  Code using jasper-generated servlets must init the runtime by calling:
  
  	JspFactory.setDefaultFactory(new JspFactoryImpl());
  	
  
  <h2>Dependencies</h2>
  
  A servlet generated by jasper will depend at runtime on the following:
  
  org.apache.jasper.runtime.* ( act as a facade )
  
  org.apache.jasper.Constants
  org.apache.jasper.JasperException
  org.apache.jasper.Options
  
  Plus general purpose utils - independent of tomcat and self contained:
  
  org.apache.tomcat.util.collections.*
  org.apache.tomcat.util.log.*
  
  Things we might want to remove:
  
  util.compat ( only to get platform lineSeparator )