html
<
JSPs in Weblogic behaves differently from Tomcat with respect to getServletContext
Replace ServletContext sc = this.getServletContext();
ServletContext sc = this.getServletContext();
to ServletContext sc = getServletConfig().getServletContext();
ServletContext sc = getServletConfig().getServletContext();