struts标签错误

exception

org.apache.jasper.JasperException: java.lang.NullPointerException
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.novons.filters.JspFilter.doFilter(JspFilter.java:29)

root cause

java.lang.NullPointerException
	org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:58)
	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_005fa_005f0(index_jsp.java:105)
	org.apache.jsp.index_jsp._jspService(index_jsp.java:74)
	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:388)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.novons.filters.JspFilter.doFilter(JspFilter.java:29)

org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:58)启动能正常,打开页面的时候出错,

将xml中
        struts2
        *.action
   
改为


  struts2
  /*
 

就可以了

你可能感兴趣的:(struts标签错误)