Hi Martin,

Inside /WEB-INF/web.xml I have declared tag library like this...
It works for CORE and SQL library without declaring them at the top of
jsp page. Provided they are included inside /WEB-INF/web.xml.

It complains if I include the relevant import statements at the top of
each jsp page.

For some reason only JSTL-function library is creating problem. I need
this
for TRIM and SPLIT functions. Alternatively, I have added java
scriptlets for SPLIT and TRIM functions

Any insight on this would be great.

  <jsp-config>


        <taglib>
            <taglib-uri>
               http://java.sun.com/jsp/jstl/sql
            </taglib-uri>
            <taglib-location>
               /WEB-INF/tlds/sql.tld
            </taglib-location>
        </taglib>

        <taglib>
            <taglib-uri>
               http://java.sun.com/jsp/jstl/core
            </taglib-uri>
            <taglib-location>
               /WEB-INF/c.tld
            </taglib-location>
        </taglib>


        <taglib>
            <taglib-uri>
               http://java.sun.com/jsp/jstl/fmt
            </taglib-uri>
            <taglib-location>
               /WEB-INF/fmt.tld
            </taglib-location>
        </taglib>

        <taglib>
            <taglib-uri>
               http://java.sun.com/jsp/jstl/functions
            </taglib-uri>
            <taglib-location>
               /WEB-INF/fn.tld
            </taglib-location>
        </taglib>

        <taglib>
            <taglib-uri>
               http://jakarta.apache.org/taglibs/request-1.0
            </taglib-uri>
            <taglib-location>
               /WEB-INF/request.tld
            </taglib-location>
        </taglib>
  
    <taglib>
 
<taglib-uri>http://cewolf.sourceforge.net/taglib/cewolf</taglib-uri>
       <taglib-location>/WEB-INF/tlds/cewolf.tld</taglib-location>
    </taglib>

   </jsp-config>

-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 22, 2008 11:07 AM
To: Tomcat Users List
Subject: Re: JSP compilation internal error

i dont see the taglib prefix decl at the top of your jsp
 <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"; %>
http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html


M
----- Original Message -----
From: "sush0000" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Tuesday, January 22, 2008 9:56 AM
Subject: Re: JSP compilation internal error


>
> Hi All,
>
> Following up with previous error (listed below), for debugging
purposes I
> turned the xmlValidation to true.
> I found the problem. Even though I have correct jstl version
information,
> tag library declarations in web.xml file, it does not recognize JSTL:
> function library. I am using java-1.5, and jstl1.1
>
> Inside jsp page I have statement like "<c:set var="sstate" value
> ="${fn:trim(sstate1)}"/>"
> It gives problem only if you do use JASPER-jspcompile combination with
ANT.
>
> IT DOES NOT RECOGNIZE "fn:trim()", The attribute prefix fn does not
> correspond to any imported tag library
>
> Here is build result:
> BUILD FAILED
> build.xml:29: The following error occurred while executing this line:
> devel/build.xml:203: org.apache.jasper.JasperException: file:
> questCQ/jsp/fileCreate.jsp(173,35) The attribute prefix fn does not
> correspond to any imported tag library
>
>
> Do JSP compiler recognize JSTL-function library?
>
>
>
>
>
> **********************************************************
>
> sush0000 wrote:
> >
> > Hi All,
> > I am compiling JSP files using ANT and TOMCAT 5.5.17.
> > ANT with jspcompile target gives this output on screen:
> > "
> > jspcompile:
> >   [jasper2] Jan 18, 2008 9:32:12 AM
> > org.apache.jasper.compiler.TldLocationsCache processWebDotXml
> >   [jasper2] WARNING: Internal Error: File /WEB-INF/web.xml not found
> > "
> >
> > This happens when I have 2 or more jsp files in JSP folder of the
> > application.
> > If I re-run the same command, it says SUCCESSFULL. That is, it
happens
> > first time only.
> >
> > If I keep only 1 jsp file inside JSP folder, everything is fine.
> >
> > Any clue about internal error here.
> > I am trying to create java application with embedded tomcat and
MYSQL
> > database.
> >
> > Thanks.
> >
>
> --
> View this message in context:
http://www.nabble.com/JSP-compilation-internal-error-tp14950383p15020196
.htm
l
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to