private static byte[] getTLDFromWebXML(File basedir,String uri){
File webXML = new File(basedir,"/WEB-INF/web.xml");
if(webXML.exists() && webXML.isFile()){
try {
FuzzyXMLDocument doc = new FuzzyXMLParser(false).parse(new FileInputStream(webXML));
FuzzyXMLNode[] nodes = XPath.selectNodes(doc.getDocumentElement(),"/web-app/taglib|/web-app/jsp-config/taglib");
for(int i=0;i<nodes.length;i++){
FuzzyXMLElement element = (FuzzyXMLElement)nodes[i];
String taglibUri = HTMLUtil.getXPathValue(element,"/taglib-uri/child::text()");