HTTP Status 500 - javax.servlet.ServletException: javax.servlet.jsp.JspException: Problem accessing the absolute URL "http://www.hkp.com.hk/chi/pageheader.html". java.io.FileNotFoundException: http://www.hkp.com.hk/chi/pageheader.html

type Exception report

message javax.servlet.ServletException: javax.servlet.jsp.JspException: Problem accessing the absolute URL "http://www.hkp.com.hk/chi/pageheader.html". java.io.FileNotFoundException: http://www.hkp.com.hk/chi/pageheader.html

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Problem accessing the absolute URL "http://www.hkp.com.hk/chi/pageheader.html". java.io.FileNotFoundException: http://www.hkp.com.hk/chi/pageheader.html
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.midland.commons.filters.EnvironmentFilter.doFilter(EnvironmentFilter.java:23)
	com.midland.locale.LocaleFilter.doFilter(LocaleFilter.java:54)
	org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
	org.apache.catalina.filters.AddDefaultCharsetFilter.doFilter(AddDefaultCharsetFilter.java:88)
	com.midland.commons.filters.CORSFilter.doFilter(CORSFilter.java:32)
	filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:123)

root cause

javax.servlet.ServletException: javax.servlet.jsp.JspException: Problem accessing the absolute URL "http://www.hkp.com.hk/chi/pageheader.html". java.io.FileNotFoundException: http://www.hkp.com.hk/chi/pageheader.html
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:901)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:834)
	org.apache.jsp.sendEmail_jsp._jspService(sendEmail_jsp.java:305)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.midland.commons.filters.EnvironmentFilter.doFilter(EnvironmentFilter.java:23)
	com.midland.locale.LocaleFilter.doFilter(LocaleFilter.java:54)
	org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
	org.apache.catalina.filters.AddDefaultCharsetFilter.doFilter(AddDefaultCharsetFilter.java:88)
	com.midland.commons.filters.CORSFilter.doFilter(CORSFilter.java:32)
	filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:123)

root cause

java.io.FileNotFoundException: http://www.hkp.com.hk/chi/pageheader.html
	sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1834)
	sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)
	org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireReader(ImportSupport.java:331)
	org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:241)
	org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:161)
	org.apache.jsp.sendEmail_jsp._jspx_meth_c_005fimport_005f0(sendEmail_jsp.java:328)
	org.apache.jsp.sendEmail_jsp._jspService(sendEmail_jsp.java:176)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.midland.commons.filters.EnvironmentFilter.doFilter(EnvironmentFilter.java:23)
	com.midland.locale.LocaleFilter.doFilter(LocaleFilter.java:54)
	org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
	org.apache.catalina.filters.AddDefaultCharsetFilter.doFilter(AddDefaultCharsetFilter.java:88)
	com.midland.commons.filters.CORSFilter.doFilter(CORSFilter.java:32)
	filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:123)

note The full stack trace of the root cause is available in the Apache Tomcat/8.0.14 logs.


Apache Tomcat/8.0.14