Class JSPEngineWrapper
- java.lang.Object
-
- net.ontopia.topicmaps.nav2.impl.basic.JSPEngineWrapper
-
public class JSPEngineWrapper extends 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.
-
-
Constructor Summary
Constructors Constructor Description JSPEngineWrapper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.servlet.jsp.JspException
getJspException(String message, Exception exception)
static javax.servlet.jsp.JspTagException
getJspTagException(String message, Exception exception)
static Map
getParameterMap(javax.servlet.ServletRequest request)
static String
getServletContextName(javax.servlet.ServletContext context)
static void
setRequestEncoding(javax.servlet.ServletRequest request, String encoding)
-
-
-
Method Detail
-
getServletContextName
public static String getServletContextName(javax.servlet.ServletContext context)
-
getJspException
public static javax.servlet.jsp.JspException getJspException(String message, Exception exception)
-
getJspTagException
public static javax.servlet.jsp.JspTagException getJspTagException(String message, Exception exception)
-
setRequestEncoding
public static void setRequestEncoding(javax.servlet.ServletRequest request, String encoding) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
getParameterMap
public static Map getParameterMap(javax.servlet.ServletRequest request)
-
-