tagcode.jsp

JSP Error:


Request URI:/demo/cache/tagcode.jsp


Exception:

java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest: method getContextPath()Ljava/lang/String; not found
	at oracle.jsp.util.JspUtil.getContextPath(JspUtil.java:752)
	at oracle.jsp.jwcache.impl.CacheCommonUtil.getContextPath(CacheCommonUtil.java:320)
	at oracle.jsp.jwcache.impl.CacheOCSUtil.genPolicyNameForOCS(CacheOCSUtil.java:86)
	at oracle.jsp.jwcache.impl.CacheOCSUtil.lookupPolicyOCS(CacheOCSUtil.java:100)
	at oracle.jsp.jwcache.impl.CacheCommonUtil.lookupPolicy(CacheCommonUtil.java:216)
	at oracle.jsp.jwcache.tag.CachePolicyTagBase.setupPolicy(CachePolicyTagBase.java:105)
	at oracle.jsp.jwcache.tag.CacheTag.doStartTag(CacheTag.java:21)
	at _demo._cache._tagcode._jspService(_tagcode.java, Compiled Code)
	at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
	at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
	at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
	at oracle.jsp.JspServlet.internalService(JspServlet.java, Compiled Code)
	at oracle.jsp.JspServlet.service(JspServlet.java:148)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
	at org.apache.jserv.JServConnection.processRequest(JServConnection.java:435)
	at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
	at java.lang.Thread.run(Thread.java, Compiled Code)