Class JavaCompiler
java.lang.Object
org.apache.jasper.compiler.Compiler
org.apache.jasper.compiler.JavaCompiler
Main JSP compiler class. This class uses the Java Compiler API for compiling.
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidgenerateClass(Map<String, SmapStratum> smaps) Servlet compilation.Methods inherited from class org.apache.jasper.compiler.Compilercompile, compile, compile, generateJava, getCompilationContext, getErrorDispatcher, getPageInfo, getSmap, init, isOutDated, isOutDated, removeGeneratedClassFiles, removeGeneratedFiles
- 
Constructor Details- 
JavaCompilerpublic JavaCompiler()
 
- 
- 
Method Details- 
generateClassDescription copied from class:CompilerServlet compilation. This compiles the generated sources into Servlets.- Specified by:
- generateClassin class- Compiler
- Parameters:
- smaps- The source maps for the class(es) generated from the source file
- Throws:
- JasperException- Compilation error
- IOException
 
 
-