Add the following in web.xml: <taglib> <taglib-uri>/WEB-INF/struts-menu.tld</taglib-uri> <taglib-location>/WEB-INF/struts-menu.tld</taglib-location> </taglib>
On 11/13/06, Olga Gerchikov <[EMAIL PROTECTED]> wrote: > Thanks. Can you please clarify what you mean by 'and manually > register it in your web.xml.'? > > Thank again. > > On 11/12/06, Matt Raible <[EMAIL PROTECTED]> wrote: > > If you look in struts-menu-2.4.2.jar!/META-INF/taglib.tld - you should > > see that the <uri> value is set to this URI. If it's not working, you > > could move the .tld file to /WEB-INF/struts-menu.tld and manually > > register it in your web.xml. > > > > Matt > > > > On 11/12/06, Olga Gerchikov <[EMAIL PROTECTED]> wrote: > > > I am getting this exception: > > > > > > But I don't know where this url comes from > > > "http://struts-menu.sf.net/tag", i search the whole project for this > > > string, but not such string is found. > > > > > > I use this '<%@ taglib uri="http://struts-menu.sf.net/tag-el" > > > prefix="menu" %>' > > > in my jsp, not 'http://struts-menu.sf.net/tag' > > > > > > > > > > > > 2006-11-11 17:44:11 StandardWrapperValve[jsp]: Servlet.service() for > > > servlet jsp threw exception > > > org.apache.jasper.JasperException: /index.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 > > > at > > > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:49) > > > at > > > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:383) > > > at > > > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81) > > > at > > > org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:265) > > > at > > > org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:298) > > > at > > > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:336) > > > at > > > org.apache.jasper.compiler.Parser.parseElements(Parser.java:749) > > > at org.apache.jasper.compiler.Parser.parse(Parser.java:77) > > > at > > > org.apache.jasper.compiler.ParserController.parse(ParserController.java:159) > > > at > > > org.apache.jasper.compiler.ParserController.parse(ParserController.java:111) > > > at > > > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:185) > > > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:355) > > > at > > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427) > > > at > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142) > > > at > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240) > > > at > > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187) > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) > > > at > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:198) > > > at > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) > > > at > > > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) > > > at > > > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) > > > > > > > > > On 11/11/06, Matt Raible <[EMAIL PROTECTED]> wrote: > > > > I tested Struts Menu 2.4.2 in 4.1.18 and 4.1.34 earlier this week and > > > > it worked fine for me. Have you changed anything with the default > > > > setup. > > > > > > > > Matt > > > > > > > > On 11/11/06, Olga Gerchikov <[EMAIL PROTECTED]> wrote: > > > > > HI, > > > > > > > > > > I am trying to run struts-menu under tomcat 4.1. I am using the > > > > > latest struts-menu. > > > > > > > > > > But I get the following exception. Can you please tell me how can I > > > > > get struts-menu to work in tomcat 4.1? > > > > > > > > > > Thank you. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.jasper.JasperException: /index.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 > > > > > at > > > > > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:49) > > > > > at > > > > > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:383) > > > > > at > > > > > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81) > > > > > at > > > > > org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:265) > > > > > at > > > > > org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:298) > > > > > at > > > > > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:336) > > > > > at > > > > > org.apache.jasper.compiler.Parser.parseElements(Parser.java:749) > > > > > at org.apache.jasper.compiler.Parser.parse(Parser.java:77) > > > > > at > > > > > org.apache.jasper.compiler.ParserController.parse(ParserController.java:159) > > > > > at > > > > > org.apache.jasper.compiler.ParserController.parse(ParserController.java:111) > > > > > at > > > > > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:185) > > > > > at > > > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:355) > > > > > at > > > > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427) > > > > > at > > > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142) > > > > > at > > > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240) > > > > > at > > > > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187) > > > > > at > > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:809) > > > > > at > > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:198) > > > > > at > > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) > > > > > at > > > > > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) > > > > > at > > > > > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) > > > > > at > > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164) > > > > > at > > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) > > > > > at > > > > > org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:375) > > > > > > > > > > ------------------------------------------------------------------------- > > > > > Using Tomcat but need to do more? Need to support web services, > > > > > security? > > > > > Get stuff done quickly with pre-integrated technology to make your > > > > > job easier > > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > > > > Geronimo > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > _______________________________________________ > > > > > struts-menu-user mailing list > > > > > struts-menu-user@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > > > > > > > > > > > > > > > > > -- > > > > http://raibledesigns.com > > > > > > > > ------------------------------------------------------------------------- > > > > Using Tomcat but need to do more? Need to support web services, > > > > security? > > > > Get stuff done quickly with pre-integrated technology to make your job > > > > easier > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > > > Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > _______________________________________________ > > > > struts-menu-user mailing list > > > > struts-menu-user@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > > > > > > > > > > ------------------------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, security? > > > Get stuff done quickly with pre-integrated technology to make your job > > > easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > > > struts-menu-user mailing list > > > struts-menu-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > > > > > > > > > -- > > http://raibledesigns.com > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > struts-menu-user mailing list > > struts-menu-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > > > -- http://raibledesigns.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ struts-menu-user mailing list struts-menu-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/struts-menu-user