Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting error with Struts-menu

 
Pia Pringle
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic