试题详情
- 多项选择题
A web application contains a tag file called beta.tag in /WEB-INF/tags/alpha. A JSP page called sort.jspexists in the web application and contains only this JSP code: 1.<%@ taglib prefix="x" 2.tagdir="/WEB-INF/tags/alpha" %> 3. The sort.jsp page is requested. Which two are true?() A、Tag files can only be accessed using a tagdir attribute.
B、The sort.jsp page translates successfully and invokes the tag defined by beta.tag.
C、The sort.jsp page produces a translation error because a taglib directive must always have a uriattribute.
D、Tag files can only be placed in /WEB-INF/tags, and NOT in any subdirectories of /WEB- INF/tags.
E、The tagdir attribute in line 2 can be replaced by a uri attribute if a TLD referring to beta.tag is createdand added to the web application.
- B,E
关注下方微信公众号,在线模考后查看
热门试题
- 下述代码执行后,有几个引用变量和几个对
- 1.public class Test
- 有一个已经排好序的数组。现输入一个数,要
- public class&e
- public class&e
- class ClassA&e
- 队列和堆栈各有什么特点?
- 现有: &en
- class TestRefe
- 25.intx=12; 26.whil
- 编写一个Java程序实现多线程,在线程中
- 面向对象的软件开发包括哪些过程?OOA模
- 用cos(x)≈1-x^2/2!+x^4
- java中,用()关键字定义常量。
- 两个乒乓球队进行比赛,各出三人。甲队为a
- Which two̳
- A JavaBeans&en
- What is th
- 用JBuilder建立图形界面程序的步骤
- Given an