wood burning stoves*
The moose likes Struts and the fly likes struts-layout menu config problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts-layout menu config problem" Watch "struts-layout menu config problem" New topic
Author

struts-layout menu config problem

Steve Kincer
Greenhorn

Joined: May 19, 2004
Posts: 7
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:html>
<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:menuItem>
</layout ynMenu>
</layout:html>

I'm using tiles if that matters, tomcat 5.5, and jbuilder.
Thanks.
Steve
 
Consider Paul's rocket mass heater.
 
subject: struts-layout menu config problem
 
Similar Threads
Tiles, putList and tiles-defs.xml
Problem while running a project using tiles in netbeans
Tag libraries
Tree view
Tiles problem