Re: Help: Using Struts Menu w/o Struts
Matt Raible <lists-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]>
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
What container are you using? Tomcat? Are you certain that struts-menu.jar is in WEB-INF/lib? What version of struts-menu are you using? Matt On Jun 19, 2004, at 3:00 PM, [email protected] wrote: > Matt, > thanks for the very quick response. I have moved past this problem. I > had a typo in listner declaration in web.xml. However, now I am > getting the following exception: > > org.apache.jasper.JasperException: /menu.jsp(0,0) This absolute uri > (http://struts-menu.sf.net/tag) cannot be resolved in either web.xml > or the jar files deployed with this application > > Here is my meun.jsp and taglibs.jsp > menu.jsp =================================================== > > <%@ include file="/taglibs.jsp"%> > > > <menu:useMenuDisplayer name="ListMenu"> > <menu:displayMenu name="ToDoListMenuFile"/> > <menu:displayMenu name="ToDoListMenuEdit"/> > <menu:displayMenu name="CaseDetailMenuCase"/> > <menu:displayMenu name="Standalone"/> > </menu:useMenuDisplayer> > > taglibs.jsp =================================================== > > <%@ 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" %> > <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> > <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %> > <%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql" %> > > ----- Original Message ----- > From: Matt Raible <lists-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]> > Date: Saturday, June 19, 2004 1:36 pm > Subject: Re: [struts-menu] Help: Using Struts Menu w/o Struts > >> I believe it's possible, but you still have to have struts.jar in >> your >> classpath. There's a dependency I haven't resolved and it throws >> a >> ClassNotFoundException. How are you loading the menu? >> >> Matt >> >> On Jun 19, 2004, at 2:27 PM, [email protected] wrote: >> >>> Does anyone have an example of using Struts Menu w/o Struts? >> I've >>> tried >>> the directions under Using Struts Menu outside of Struts under the >>> User-Guide to no avail. I keep getting a JasperException of >> "The menu >>> repository could not be found". and in the log file just prior >> to the >>> exception the following log entry is made. >>> >>> 2004-06-18 22:09:22,531 DEBUG >>> [net.sf.navigator.taglib.UseMenuDisplayerTag] Looking for >> repository >>> named >>> 'net.sf.navigator.menu.MENU_REPOSITORY' >>> >>> >>> Any help would be really >>> appreciated, thanks, >>> >>> Tim >>> [email protected] >>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >>> Learn from the experts at JavaOne(SM), Sun's Worldwide Java >> Developer> Conference, June 28 - July 1 at the Moscone Center in >> San Francisco, CA >>> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code >>> NWMGYKND >>> _______________________________________________ >>> struts-menu-user mailing list >>> struts-menu-user-TtF/[email protected] >>> https://lists.sf.net/lists/listinfo/struts-menu-user >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >> Conference, June 28 - July 1 at the Moscone Center in San >> Francisco, CA >> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code >> NWMGYKND_______________________________________________ >> struts-menu-user mailing list >> struts-menu-user-TtF/[email protected] >> https://lists.sf.net/lists/listinfo/struts-menu-user >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code > NWMGYKND > _______________________________________________ > struts-menu-user mailing list > struts-menu-user-TtF/[email protected] > https://lists.sf.net/lists/listinfo/struts-menu-user ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND