tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject TLD problem
Date Mon, 19 Jan 2004 11:00:28 GMT
I have defined one java function and want to refer it in my JSP application.
For doing this I have prepared a .tld file as 

<?xml version="1.0" encoding="ISO-8859-1" ?> 
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library
"" > 




	    Author: Shrinivas Joshi.
	    version 0.1
  <function-signature>String replace( java.lang.String,
    java.lang.String, java.lang.String )</function-signature>


Also I have defined the tag lib in web.xml file as 




However when I try to include the tag lib in my JSP pages using
<%@ taglib uri="myfunc" prefix="ttlfunc" %>
then Tomcat (4.1.12  ) is throwing below error:
org.apache.jasper.JasperException: XML parsing error on file
/WEB-INF/ttlfunction.tld: (line 20, col 11): Element type "function" must be

Can anybody help me out in this regards

Thanks and Regards
Shrinivas Joshi.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message