Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在调试一个 struts 2 应用程序并试图让调试拦截器工作。
在struts.xml我添加了这一行并重新启动tomcat:
struts.xml
<constant name="struts.devMode" value="true" />
接下来我添加?debug=browser了一个网址。不幸的是,这没有效果。页面和以前一样显示,没有可见的调试信息。
?debug=browser
少了什么东西?
您缺少一个Dojo 插件。您可以通过以下链接查看有关调试的更多详细信息。
“浏览器模式添加了一个交互式页面,显示值堆栈中的对象(它需要 Dojo 插件)”