2. Created a htmLib.taglib.xml, which looks like this: (am using only the div tag) <?xml version="1.0"?> <!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "http://java.sun.com/dtd/facelet-taglib_1_0.dtd"><facelet-taglib> <namespace> http://jsftutorials.net/htmLib</namespace> <tag> <tag-name>div</tag-name> <component> <component-type> htmLib.div</component-type> </component> </tag> </facelet-taglib> 3. Added this to web.xml <context-param> <param-name>facelets.LIBRARIES</param-name> <param-value>/WEB-INF/htmLib.taglib.xml</param-value> </context-param> <context-param> <param-name>facelets.LIBRARIES</param-name> <param-value>/WEB-INF/tomahawk.taglib.xml</param-value> </context-param> 4. But when the page is rendered, it still comes as <htm:div> ....</htm:div> and not <div> ...</div> like I expected. What else could I be doing wrong ?
I think everything is right except that you need to combine the two facelets.LIBRARIES entries. <param-value>/WEB-INF/htmLib.taglib.xml;/WEB-INF/tomahawk.taglib.xml</param-value>

