2016-06-27 13 views
1

ich hinzugefügt, um die JSP Diesen Tag haben geradeKein Tag-Bibliothek konnte mit diesem URI ESAPI

<%@ taglib prefix="esapi" uri="http://www.owasp.org/index.php/Category:OWASP_Enterprise_Security_API"%> 

Aber ich habe diesen Fehler gefunden werden, wenn

[java] No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. 
    [java] <%@ taglib prefix="esapi" uri="http://www.owasp.org/index.php/Category:OWASP_Enterprise_Security_API"%> 
+1

Veröffentlichen Sie Ihre Web-Kompilierung .xml – avgvstvs

+0

Tatsächlich war es die Datei web.xml avgvstvs –

+1

Fühlen Sie sich frei, Ihre Lösung zu veröffentlichen, andere Leute könnten das gleiche Problem in der Zukunft haben! :-) – avgvstvs

Antwort

1
<jsp-config> 
     <taglib> 
      <taglib-uri>http://www.owasp.org/index.php/Category:OWASP_Enterprise_Security_API</taglib-uri> 
      <taglib-location>/WEB-INF/tld/esapi.tld</taglib-location> 
     </taglib> 
    </jsp-config> 
Verwandte Themen