struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jayadevan <jayadeva...@gmail.com>
Subject org.apache.jasper.JasperException: The Struts dispatcher cannot be found.
Date Thu, 16 Jul 2009 05:56:22 GMT

hi all 

i am using struts2 for my pjt

when i try to excute pjt the following exception occured

pls help me

thanks in advance



org.apache.jasper.JasperException: The Struts dispatcher cannot be found. 
This is 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 dispatcher needed for this tag. -
[unknown location]

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause 

The Struts dispatcher cannot be found.  This is 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 dispatcher 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_005fform_005f0(index_jsp.java:99)
	org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


-- 
View this message in context: http://www.nabble.com/org.apache.jasper.JasperException%3A-The-Struts-dispatcher-cannot-be-found.-tp24510546p24510546.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message