About Question com.enthuware.ets.scwcd.v5.2.346 :
Posted: Thu May 05, 2011 1:47 pm
Hi,
correct answers are page and include.
the answers aren't correct(taglib and include), for instance I have mytag.tagx file:
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.tag pageEncoding="UTF-8"/>
<jsp:directive.attribute name="message"/>
<jsp:directive.tag display-name="mytag"/>
<jsp:directive.include file="mytag1.tagx"/>
</jsp:root>
and mytag1.tagx
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:text>${message}</jsp:text>
</jsp:root>
Only the following directives are valid for tag files:
taglib, include, tag, attribute, variable.
I can use directives include, page, tag(not taglib!!!!), attribute, and variable.
correct answers are page and include.
the answers aren't correct(taglib and include), for instance I have mytag.tagx file:
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.tag pageEncoding="UTF-8"/>
<jsp:directive.attribute name="message"/>
<jsp:directive.tag display-name="mytag"/>
<jsp:directive.include file="mytag1.tagx"/>
</jsp:root>
and mytag1.tagx
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:text>${message}</jsp:text>
</jsp:root>
Only the following directives are valid for tag files:
taglib, include, tag, attribute, variable.
I can use directives include, page, tag(not taglib!!!!), attribute, and variable.