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.html
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]

Reply via email to