For help with installation, bugs reports or feature requests, please head over to our new forums.
	
Genuitec Community on GitHub
- This topic has 3 replies, 3 voices, and was last updated 16 years, 8 months ago by Loyal Water. 
- 
		AuthorPosts
- 
		
			
				
 geek.shrekMemberHi, I’m not sure if this is the right place to ask about “taglib”. I’m trying to create a dynamic web site using XSLT and JSP. 
 note: I have my jar already in the build path.I need to put the below in web.xml <taglib> 
 <taglib-uri>http://jakarta.apache.org/taglibs/xsl-1.0</taglib-uri>
 <taglib-location>/WEB-INF/taglibs-xsl.tld</taglib-location>
 </taglib>here’s my web.xml 
 <?xml version=”1.0″ encoding=”UTF-8″?>
 <web-app xmlns=”http://java.sun.com/xml/ns/j2ee” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” version=”2.4″ xsi:schemaLocation=”http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd”>
 <taglib>
 <taglib-uri>http://jakarta.apache.org/taglibs/xsl-1.0</taglib-uri>
 <taglib-location>/WEB-INF/taglibs-xsl.tld</taglib-location>
 </taglib>
 <welcome-file-list>
 <welcome-file>index.jsp</welcome-file>
 </welcome-file-list>
 </web-app>and I have this error: 
 cvc-complex-type.2.4.a: Invalid content was found starting with element ‘taglib’. One of ‘{“http://java.sun.com/xml/ns/j2ee”:description, “http://java.sun.com/xml/ns/j2ee”:display-name, “http://java.sun.com/xml/ns/j2ee”:icon, “http://java.sun.com/xml/ns/j2ee”:distributable, “http://java.sun.com/xml/ns/j2ee”:context-param, “http://java.sun.com/xml/ns/j2ee”:filter, “http://java.sun.com/xml/ns/j2ee”:filter-mapping, “http://java.sun.com/xml/ns/j2ee”:listener, “http://java.sun.com/xml/ns/j2ee”:servlet, “http://java.sun.com/xml/ns/j2ee”:servlet-mapping, “http://java.sun.com/xml/ns/j2ee”:session-config, “http://java.sun.com/xml/ns/j2ee”:mime-mapping, “http://java.sun.com/xml/ns/j2ee”:welcome-file-list, “http://java.sun.com/xml/ns/j2ee”:error-page, “http://java.sun.com/xml/ns/j2ee”:jsp-config, “http://java.sun.com/xml/ns/j2ee”:security-constraint, “http://java.sun.com/xml/ns/j2ee”:login-config, “http://java.sun.com/xml/ns/j2ee”:security-role, “http://java.sun.com/xml/ns/j2ee”:env-entry, “http://java.sun.com/xml/ns/j2ee”:ejb-ref, “http://java.sun.com/xml/ns/j2ee”:ejb-local-ref, “http://java.sun.com/xml/ns/j2ee”:service-ref, “http://java.sun.com/xml/ns/j2ee”:resource-ref, “http://java.sun.com/xml/ns/j2ee”:resource-env-ref, “http://java.sun.com/xml/ns/j2ee”:message-destination-ref, “http://java.sun.com/xml/ns/j2ee”:message-destination, “http://java.sun.com/xml/ns/j2ee”:locale-encoding-mapping-list}’ is expected. RealTimeApp/WebRoot/WEB-INF web.xml line 14 1197436738119 277282Can anyone tell me what did I do wrong? any solutions? December 13, 2007 at 10:51 am #279628
 Loyal WaterMemberMoving to Off Topic >> Software Development. February 11, 2009 at 4:18 am #294665
 shaibanMember<taglib> tag is deprecated in 2.4 servlets February 11, 2009 at 11:40 am #294690
 Loyal WaterMember<taglib> tag is deprecated in 2.4 servlets Thank you for pointing this out. 
- 
		AuthorPosts

