5 Replies Latest reply on Jul 5, 2012 5:36 AM by sarahfr

    taglib in Jboss 7

    sarahfr Newbie

      Hi,

      I try to deploy my application but I have this error:

       

      org.apache.jasper.JasperException: Le fichier "/tags/struts-bean" not found

      org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)

      org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)

      org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)

      org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:177)

      org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:386)

      org.apache.jasper.compiler.Parser.parseDirective(Parser.java:448)

      org.apache.jasper.compiler.Parser.parseElements(Parser.java:1398)

      org.apache.jasper.compiler.Parser.parse(Parser.java:130)

      org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)

      org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)

      org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:194)

      org.apache.jasper.compiler.Compiler.compile(Compiler.java:360)

      org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)

      org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)

      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607)

      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)

      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)

      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062)

      org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)

      org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)

      org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

      org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062)

      org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)

      org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)

      org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

      org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      com.accesscommerce.cart.filter.CharsetFilter.doFilter(CharsetFilter.java:92)

       

      in my web.xml I have this:

       

      <?xml version="1.0" encoding="UTF-8" ?>

      <web-app version="2.5"

         xmlns="http://java.sun.com/xml/ns/javaee"

         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

       

      .................

       

                <!-- Struts Tag Library Descriptors -->

                <jsp-config>

                <taglib>

                          <taglib-uri>/tags/struts-bean</taglib-uri>

                          <taglib-location>/tags/struts-bean.tld</taglib-location>

                </taglib>

       

       

                <taglib>

                          <taglib-uri>/tags/struts-html</taglib-uri>

                          <taglib-location>/tags/struts-html.tld</taglib-location>

                </taglib>

       

       

                <taglib>

                          <taglib-uri>/tags/struts-logic</taglib-uri>

                          <taglib-location>/cfg/struts-logic.tld</taglib-location>

                </taglib>

                <taglib>

                          <taglib-uri>/tags/struts-nested</taglib-uri>

                          <taglib-location>/cfg/struts-nested.tld</taglib-location>

                </taglib>

       

                <taglib>

                          <taglib-uri>/tags/struts-tiles</taglib-uri>

                          <taglib-location>/cfg/struts-tiles.tld</taglib-location>

                </taglib>

       

                <taglib>

                          <taglib-uri>/tags/cart</taglib-uri>

                          <taglib-location>/cfg/cart.tld</taglib-location>

                </taglib>

       

       

                <taglib>

                          <taglib-uri>/tags/cart</taglib-uri>

                          <taglib-location>/cfg/cart.tld</taglib-location>

                </taglib>

       

                </jsp-config>

      </web-app>

       

      please I need your help.