我有一个现有的普通 jsp Web 应用程序。根据客户要求,我需要创建一些带有下拉选择框的配置页面。我必须在 Struts 2 中创建这个页面。我已经创建了一个 struts 页面,但是我无法从我现有的应用程序中调用这个 struts2 页面。
我得到以下错误。
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]
at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:60)
at org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:44)
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:48)
at jsp_servlet.__addprevdn._jsp__tag0(__addprevdn.java:112)
at jsp_servlet.__addprevdn._jspService(__addprevdn.java:84)
Truncated. see log file for complete stacktrace