The Struts dispatcher cannot be found. This are usually caused by using Struts tags without the associated filter. Struts tags A

Source: Internet
Author: User
HTTP Status-

type Exception

Message

Description The server encountered an internal error () is prevented it from fulfilling this request.

Exception

Org.apache.jasper.JasperException:The Struts dispatcher cannot be found.  This are usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the struts Dispatche R needed for this tag. -[Unknown Location]
	org.apache.jasper.servlet.JspServletWrapper.handleJspException (Jspservletwrapper.java : 522)
	Org.apache.jasper.servlet.JspServletWrapper.service (jspservletwrapper.java:416)
	Org.apache.jasper.servlet.JspServlet.serviceJspFile (jspservlet.java:342)
	Org.apache.jasper.servlet.JspServlet.service (jspservlet.java:267)
	Javax.servlet.http.HttpServlet.service ( httpservlet.java:717)

root Cause

The Struts dispatcher cannot be found. This are usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the struts Dispatche R needed for this tag.
	-[Unknown Location] Org.apache.struts2.views.jsp.TagUtils.getStack (tagutils.java:60)
	Org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack (strutsbodytagsupport.java:52) Org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag (componenttagsupport.java:49) org.apache.jsp.index_ JSP._JSPX_METH_S_005FTEXTFIELD_005F0 (index_jsp.java:122) Org.apache.jsp.index_jsp._jspservice (index_jsp.java:93 ) Org.apache.jasper.runtime.HttpJspBase.service (httpjspbase.java:70) Javax.servlet.http.HttpServlet.service (
	httpservlet.java:717) Org.apache.jasper.servlet.JspServletWrapper.service (jspservletwrapper.java:374)
	Org.apache.jasper.servlet.JspServlet.serviceJspFile (jspservlet.java:342) Org.apache.jasper.servlet.JspServlet.service (Jspservlet.java:267) Javax.servlet.http.HttpServlet.service (httpservlet.java:717) 
(1) The JSP page does not include anything similar to the following:
<%@ taglib prefix= "s" uri= "/struts-tags"%>
(2) Interceptor is not/*
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.