关于jsp页面错误求解……
org.apache.jasper.JasperException:AnexceptionoccurredprocessingJSPpage/WebRoot/login....
org.apache.jasper.JasperException: An exception occurred processing JSP page /WebRoot/login.jsp at line 45
42:
43: <input type="submit" class="login-sub" value="" />
44: <br/>
45: <b><font color="red" id="check"><s:property value="tip"/></font></b>
46: </form>
47: </div>
48:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root causeThe 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.WebRoot.login_jsp._jspx_meth_s_005fproperty_005f0(login_jsp.java:148)
org.apache.jsp.WebRoot.login_jsp._jspService(login_jsp.java:103)
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:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
请编程高手们说一下如何解决 展开
42:
43: <input type="submit" class="login-sub" value="" />
44: <br/>
45: <b><font color="red" id="check"><s:property value="tip"/></font></b>
46: </form>
47: </div>
48:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root causeThe 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.WebRoot.login_jsp._jspx_meth_s_005fproperty_005f0(login_jsp.java:148)
org.apache.jsp.WebRoot.login_jsp._jspService(login_jsp.java:103)
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:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
请编程高手们说一下如何解决 展开
3个回答
展开全部
报错信息中有一句。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 filte。
大致意思如下:这通常是由于没有相关的过滤器而使用Struts标签。Struts标签只能当request请求通过servlet过滤器,才能够被使用。
所以,应该是你的jsp页面的请求没有通过struts的过滤器。
大致意思如下:这通常是由于没有相关的过滤器而使用Struts标签。Struts标签只能当request请求通过servlet过滤器,才能够被使用。
所以,应该是你的jsp页面的请求没有通过struts的过滤器。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询