javax.servlet.ServletException: Forward /servlet/ToJSPServlet failed: can only forward to a JSP page.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via hivmr.com by Unknown author, 1 year ago
Forward /servlet/ToJSPServlet failed: can only forward to a JSP page.
via Oracle Community by 843835, 1 year ago
Forward /servlet/ToJSPServlet failed: can only forward to a JSP page.
via Oracle Community by 3004, 1 year ago
Forward /jpdk/xsql/latest-news.xsql failed: can only forward to a JSP or HTML page.
via Oracle Community by sukesh kotian, 1 year ago
Forward /eis/jsp/reporting/reports/newreport/columnselection/EISRSCReportColumnSelectionRN.html?retainAM=N&addBreadCrumb=N&oas=o6NiuYnz_7i7DbS6PT2ZIg.. failed: can only forward to a JSP or HTML page.
javax.servlet.ServletException: Forward /servlet/ToJSPServlet failed: can only forward to a JSP page.
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java)
at oa_html.tcscustom.tcs_mis_dashboard._jspService(tcs_mis_dashboard.java:75)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
at oracle.jsp.JspServlet.service(JspServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:402)
at org.apache.jserv.JServConnection.run(JServConnection.java:260)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.