com.khubla.pragmatach.plugin.jsp
Class JSPCompiler

java.lang.Object
  extended by com.khubla.pragmatach.plugin.jsp.JSPCompiler

public class JSPCompiler
extends Object

Simple JSP compiler

http://javasourcecode.org/html/open-source/tomcat/tomcat-7.0.29/org/apache/jasper/JspCompilationContext.java.html

http://javasourcecode.org/html/open-source/tomcat/tomcat-6.0.32/org/apache/jasper/JspC.java.html

http://javasourcecode.org/html/open-source/tomcat/tomcat-7.0.29/org/apache/jasper/JspC.java.html

Author:
tome

Constructor Summary
JSPCompiler(String jspFile, javax.servlet.ServletConfig servletConfig, javax.servlet.ServletContext servletContext)
          ctor
 
Method Summary
 org.apache.jasper.runtime.HttpJspBase getServlet()
          given a JSP file relative path, return a Servlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSPCompiler

public JSPCompiler(String jspFile,
                   javax.servlet.ServletConfig servletConfig,
                   javax.servlet.ServletContext servletContext)
ctor

Method Detail

getServlet

public org.apache.jasper.runtime.HttpJspBase getServlet()
                                                 throws PragmatachException
given a JSP file relative path, return a Servlet

Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.