Last active
August 29, 2015 14:16
-
-
Save alexandreaquiles/5876e778de4df9c6c550 to your computer and use it in GitHub Desktop.
Para definir uma URI para o tagfile criado no cap. 8 do FJ-21, é preciso criar um arquivo /WEB-INF/caelum.tld com o conteúdo abaixo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%-- inicio --%> | |
<%@taglib uri="http://caelum.com.br/fj21/tags" prefix="caelum" %> | |
<%-- fim --%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<taglib version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"> | |
<tlib-version>1.0</tlib-version> | |
<short-name>caelum</short-name> | |
<uri>http://caelum.com.br/fj21/tags</uri> | |
<tag-file> | |
<name>campoData</name> | |
<path>/WEB-INF/tags/campoData.tag</path> | |
</tag-file> | |
</taglib> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment