Hi, this is my first post here, I've the same "old problem"...

I've followed the FAQ from site, and put all configuration file at the right
place, so I can't understand what's wrong. Someone can help me? I'm using
java 1.5, tomcat 5.5 (I can't find log file...!!)
The error is: "javax.servlet.ServletException: The menu repository could not
be found."
I have:

* inserted the jar in the web-inf/ lib
* added the menu-config.xml file in web-inf
* added the plug-in declaration in struts -config.xml
* added in my jsp the taglib declaration and the menu tag.
* added commons-lang.jar to your project. 

This is my jsp file:

<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://struts-menu.sf.net/tag"; prefix="menu" %>
<%@ taglib uri="http://struts-menu.sf.net/tag-el"; prefix="menu-el" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
    <title>Example</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" media="screen"
href="styles/global.css" />
    <link rel="stylesheet" type="text/css" media="screen"
href="styles/tabs.css" />    
    <script type="text/javascript" src="scripts/tabs.js"></script>
</head>
<body>

<menu:useMenuDisplayer name="TabbedMenu" >
    <menu:displayMenu name="TabbedHome"/>
    <menu:displayMenu name="TabbedAbout"/>
    <menu:displayMenu name="TabbedContact"/>
    <menu:displayMenu name="TabbedExit"/>
</menu:useMenuDisplayer>

Someone knows what could I try to do? thank you :)
-- 
View this message in context: 
http://www.nabble.com/The-menu-repository-could-not-be-found.-tf2459638.html#a11289591
Sent from the struts-menu-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
struts-menu-user mailing list
struts-menu-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to