网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
JSP中JavaBean是通过指令标签()来访问的。
- A、〈%@ page%〉
- B、〈jsp:useBean〉
- C、〈jsp:setProperty〉
- D、〈jsp:getProperty〉
参考答案
更多 “JSP中JavaBean是通过指令标签()来访问的。A、〈%@ page%〉B、〈jsp:useBean〉C、〈jsp:setProperty〉D、〈jsp:getProperty〉” 相关考题
考题
下列那个jsp标记用于得到一个javabean的属性()
A、jsp:useBeanB、jsp:useBean.propertyC、jsp:useBean.getPropertyD、jsp:getProperty
考题
下列选项中,能够正确使用JavaBean的是______。A.<jsp:useBean name="beanTest"class="ClassBean"/>
B.<jsp:useBean id="beanTest"class="ClassBean"/>
C.<jsp:useBean bean="beanTest"class="ClassBean"/>
D.<jsp:useBean beanName="beanTest"class="ClassBean"/>
考题
在J2EE中,在JSP中想要使用JavaBean:mypackage.mybean,则一下写法正确的是() A、jsp:usebean id=”mybean” scope=”page” class=”mypackage.mybean”/ B、jsp:useBean class=”mypackage.mybean.class”/ C、jsp:usebean id=”mybean” class=”mypackage.mybean”/ D、jsp:useBean id=”mybean” class=”mypackage..mybean”
考题
在JSP页面中,正确引入JavaBean的是() A、%jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” % B、jsp: useBean name=”myBean” scope =”page” class=”pkg.MyBean” C、jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” / D、jsp: useBean name=”myBean” scope =”page” class=”pkg.MyBean” /
考题
JavaBean可以通过相关jsp动作指令进行调用。下面哪个不是JavaBean可以使用的jsp动作指令?()A、〈jsp:useBean〉B、〈jsp:setProperty〉C、〈jsp:getProperty〉D、〈jsp:setParameter〉
考题
在J2EE中,在JSP中想要使用JavaBean:mypackage.mybean,则以下写法正确的是()。A、jsp:usebean id=”mybean” scop=”page” class=”mypackage.mybean”/ B、jsp:useBean class=”mypackage.mybean.class”/ C、jsp:usebean id=”mybean” class=”mypackage.mybean”/ D、jsp:useBean id=”mybean” class=”mypackage.mybean”/
考题
A JSP page needs to instantiate a JavaBean to be used by only that page. Which two jsp:useBean attributes must be used to access this attribute in the JSP page?()A、 idB、 typeC、 nameD、 classE、 scopeF、 create
考题
You need to create a JavaBean object that is used only within the current JSP page. It must NOT beaccessible to any other page including those that this page might import. Which JSP standard action canaccomplish this goal?()A、jsp:useBean id=’pageBean’ type=’com.example.MyBean’ /B、jsp:useBean id=’pageBean’ class=’com.example.MyBean’ /C、jsp:makeBean id=’pageBean’ type=’com.example.MyBean’ /D、jsp:makeBean id=’pageBean’ class=’com.example.MyBean’ /
考题
在JSP中,对〈jsp:setProperty〉标记描述正确的是()。A、〈jsp:setProperty〉和〈jsp:getProPerty〉必须在一个JSP文件中搭配出现B、就如同session.setAttribute()一样,来设计属性/值对C、和〈jsp:useBean〉动作一起便用,来设置bean的属性值D、就如同request.setAttribute()一样,来设置属性/值对
考题
在JSP中调用JavaBean时不会用到的标记是()。A、〈javabean〉B、〈jsp:useBean〉C、〈jsp:setProperty〉D、〈jsp:getProperty〉
考题
下面哪个不是JSP中和javabean相关的标记?()A、〈jsp:userBean〉B、〈jsp:include〉C、〈jsp:setProperty〉D、〈jsp:getProperty〉
考题
A JSP page needs to set the property of a given JavaBean to a value that is calculated with the JSP page. Which three jsp:setProperty attributes must be used to perform this initialization?()A、IdB、ValC、NameD、ParamE、ValueF、Property
考题
单选题在JSP中调用JavaBean时不会用到的标记是()。A
〈javabean〉B
〈jsp:useBean〉C
〈jsp:setProperty〉D
〈jsp:getProperty〉
考题
单选题下面哪个不是JSP中和javabean相关的标记?()A
〈jsp:userBean〉B
〈jsp:include〉C
〈jsp:setProperty〉D
〈jsp:getProperty〉
考题
单选题JavaBean可以通过相关jsp动作指令进行调用。下面哪个不是JavaBean可以使用的jsp动作指令?()A
〈jsp:useBean〉B
〈jsp:setProperty〉C
〈jsp:getProperty〉D
〈jsp:setParameter〉
考题
单选题在JSP中,对〈jsp:setProperty〉标记描述正确的是()。A
〈jsp:setProperty〉和〈jsp:getProPerty〉必须在一个JSP文件中搭配出现B
就如同session.setAttribute()一样,来设计属性/值对C
和〈jsp:useBean〉动作一起便用,来设置bean的属性值D
就如同request.setAttribute()一样,来设置属性/值对
考题
单选题JSP中JavaBean是通过指令标签()来访问的。A
〈%@ page%〉B
〈jsp:useBean〉C
〈jsp:setProperty〉D
〈jsp:getProperty〉
考题
多选题A JSP page needs to instantiate a JavaBean to be used by only that page. Which two jsp:useBean attributes must be used to access this attribute in the JSP page?()AidBtypeCnameDclassEscopeFcreate
考题
多选题A JSP page needs to set the property of a given JavaBean to a value that is calculated with the JSP page. Which three jsp:setProperty attributes must be used to perform this initialization?()AIdBValCNameDParamEValueFProperty
热门标签
最新试卷