以前在struts1.x中需要在struts-config.xml中配置<plug-in来引入struts-menu,现在在只需要在web.xml中配置一个监听就可以了
<listener> <listener-class> net.sf.navigator.menu.MenuContextListener </listener-class> </listener>