wood burning stoves 2.0*
The moose likes Struts and the fly likes Getting error with Struts-menu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Getting error with Struts-menu" Watch "Getting error with Struts-menu" New topic
Author

Getting error with Struts-menu

Pia Pringle
Greenhorn

Joined: Jun 05, 2006
Posts: 21
I'm getting the following error when trying to use Struts-menu

javax.servlet.jsp.JspException: The menu repository could not be found

What is going on ?

My JSP is simple. It is the following :

<%@ taglib uri="http://struts-menu.sf.net/tag" prefix="menu" %>

<html>
<menu:useMenuDisplayer name="TabbedMenu"
bundle="org.apache.struts.action.MESSAGE">
<menu isplayMenu name="Home"/>
<menu isplayMenu name="About"/>
</menu:useMenuDisplayer>
</html>

In my WEB.xml file I have the following :

<taglib>
<taglib-uri>/WEB-INF/struts-menu.tld</taglib-uri>
<taglib-locationhttp://struts-menu.sf.net/tag</taglib-location>
</taglib>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting error with Struts-menu