net.ontopia.topicmaps.nav2.impl.basic
Class JSPEngineWrapper
java.lang.Object
net.ontopia.topicmaps.nav2.impl.basic.JSPEngineWrapper
public class JSPEngineWrapper
- extends java.lang.Object
INTERNAL: This class is used to hide the differences between the
JSP 1.1 and JSP 1.2 APIs so that the OKS can support both. This
means we can make use of the improvements in JSP 1.2 if they are
there, and if they are not we just make do without, and without
getting errors loading the .class files.
Method Summary |
static javax.servlet.jsp.JspException |
getJspException(java.lang.String message,
java.lang.Exception exception)
|
static javax.servlet.jsp.JspTagException |
getJspTagException(java.lang.String message,
java.lang.Exception exception)
|
static java.util.Map |
getParameterMap(javax.servlet.ServletRequest request)
|
static java.lang.String |
getServletContextName(javax.servlet.ServletContext context)
|
static void |
setRequestEncoding(javax.servlet.ServletRequest request,
java.lang.String encoding)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSPEngineWrapper
public JSPEngineWrapper()
getServletContextName
public static java.lang.String getServletContextName(javax.servlet.ServletContext context)
getJspException
public static javax.servlet.jsp.JspException getJspException(java.lang.String message,
java.lang.Exception exception)
getJspTagException
public static javax.servlet.jsp.JspTagException getJspTagException(java.lang.String message,
java.lang.Exception exception)
setRequestEncoding
public static void setRequestEncoding(javax.servlet.ServletRequest request,
java.lang.String encoding)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
getParameterMap
public static java.util.Map getParameterMap(javax.servlet.ServletRequest request)
Copyright © 2000-2012 Ontopia.