• Post Reply Bookmark Topic Watch Topic
  • New Topic

struts-layout menu config problem  RSS feed

Steve Kincer
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to get struts menu going and I get the following exception when my JSP that uses the menu loads. I called my config file strutsmenu.config, but I'm not sure what directory I'm supposed to place it in (same dir as the JSP?).

SEVERE: Servlet.service() for servlet debugjsp threw exception
javax.servlet.jsp.JspException: dynMenu: missing attribute Can't find bundle for base name strutsmenu.config, locale default
at fr.improve.struts.taglib.layout.DynMenuTag2.doPrintMenuConfig(DynMenuTag2.java:194)
at fr.improve.struts.taglib.layout.DynMenuTag2.doPrintMenu(DynMenuTag2.java:91)
at fr.improve.struts.taglib.layout.DynMenuTag2.doEndLayoutTag(DynMenuTag2.java:58)

My menu looks like this:

<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-layout.tld" prefix="layout" %>
<layout ynMenu config="strutsmenu" left="100" top="150">
<layout:menuItem key="menu.inbox" link="inbox.jsp"/>
<layout:menuItem key="menu.cust" link="custSearch.jsp?searchSource=mainMenu" />
<layout:menuItem key="menu.query" link="querySearch.jsp?searchSource=mainMenu" />
<layout:menuItem key="menu.admin">
<layout:menuItem key="menu.staff" link="staffSearch.jsp"/>
<layout:menuItem key="menu.fileimport" link="fileImport.jsp"/>
</layout ynMenu>

I'm using tiles if that matters, tomcat 5.5, and jbuilder.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!