当我试图在WLServer9.2上运行我的Spring + Struts 2项目时(我必须使用这个版本,所以请不要要求我使用较新版本的WL ),我犯了这个错误。
浏览器中的URL地址是:
http://localhost:7003/SpringStrust2/
完全堆栈跟踪:
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 h
我在我的项目中使用struts2 + spring3。请帮我解决这个问题。
在我的应用程序中,(a.jsp)与-> (aAction.java)相关。
从主菜单中,用户可以访问a.jsp。a.jsp中有许多字段,用户需要输入数据。在页面中间,用户需要转到另一个页面(b.jsp)来添加更多细节。(b.jsp页面不是弹出窗口)在向b.jsp添加数据后,用户需要返回到a.jsp。如何保留a.jsp页面数据?
两个页面(aAction.java)只使用一个操作。
1)可以在b.jsp中保留隐藏变量,在a.jsp中重新填充数据。但是有那么多
fields in a.jsp. So this way
在我的Struts2代码中使用注释时,我遇到了这个问题。
我的带注释的Action类看起来像这样,它使用拦截器,我的架构基于Spring3,Struts2,并使用Struts2约定插件
@InterceptorRefs({
@InterceptorRef("mylogging")
})
public class LoginAction implements ModelDriven{
User user = new User();
List<User> users = new ArrayList<User>();