<APPLET NAME=”param1” VALUE=”100”></APPLET>
<PARAM NAME=”param1” VALUE=”100”></PARAM>
<PARAM NAME=”param1” VALUE=”100”>
<PARAM NAME=”param1” VALUE=100>
第1题:
此题为判断题(对,错)。
第2题:
AllofyourJSPsneedtohavealinkthatpermitsuserstoemailthewebmaster.Thiswebapplicationislicensedtomanysmallbusinesses,eachofwhichhaveadifferentemailaddressforthewebmaster.Youhavedecidedtouseacontextparameterthatyouspecifyinthedeploymentdescriptor,likethis:42.<context-param>43.<param-name>webmasterEmail</param-name>44.<param-value>master@example.com</param-value>45.</context-param>WhichJSPcodesnippetcreatesthisemaillink?()
A.<ahref=’mailto:${contextParam.webmasterEmail}’>contactus</a>
B.<ahref=’mailto:${applicationScope.webmasterEmail}’>contactus</a>
C.<ahref=’mailto:${contextInitParam.webmasterEmail}’>contactus</a>
D.<ahref=’mailto:${initParam.webmasterEmail}’>contactus</a>
第3题:
要向Applet传递参数,应该在下列drawing.html文件的下画线处填人的选项是( )。
A.<param image,”flower.gif”>
B.<param image value=flower.gif>
C.<param name=image value=”flower.gif”>
D.<2param name=”image”value=”flower.gif”>
第4题:
第5题:
要向Applet传递参数,应该在下列drawing.html文件的下画线处填人的选项是( )。 … … <applet code=Drawlmage.class width=1 00 height= 100> </applet> … …
A.<param image,"flower.gif">
B.<param image value=flower.gif>
C.<param name=image value="flower.gif">
D.<param name="image"value="flower.gif">
第6题:
下列说法中错误的一项是______。
A.getCodeBase()用于获取Applet主类的URL
B.getDocumentBase()用于获取包含Applet的HTML文件的URL
C.getParameter(String name)用于获取<PARAM>标记中的参数值
D.若指定参数在HTML中没有说明,则Applet将停止运行
第7题:
struts2中,以下配置文件上传拦截器只允许上传bmp图片文件的代码,正确的是()。
第8题:
如你要用给 Applet传递一个名字为param1, 值为100的参数,应选用语句()。
第9题:
下面哪个方法不属于JSP指令:()
第10题:
You are building your own layout mechanism by including dynamic content for the page’s header and footersections. The footer is always static, but the header generates the
第11题:
<jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:include>
<jsp:import page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:import>
<jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:include>
<jsp:import page=’/WEB-INF/jsp/header.jsp’>. <jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:import>
第12题:
<param name=age value=20>
<applet code="Try.class" width=100 height=100 age=33>
<name=age value=20>
<applet code="Try.class" name=age value=20>
第13题:
向Applet传递参数的正确描述是( )。
A.<param name=age,value=20>
B.<applet code=Try.class width=100,height=100, age=33>
C.<name=age,value=20>
D.<applet code=Try.class name=age,value=20>
第14题:
Youhavecreatedawebapplicationthatyoulicensetorealestatebrokers.Thewebappishighly customizableincludingtheemailaddressofthebroker,whichisplacedonthefooterofeachpage.Thisisconfiguredasacontextparameterinthedeploymentdescriptor:10.<context-param>11.<param-name>footerEmail</param-name>12.<param-value>joe@estates-r-us.biz</param-value>13.</context-param>WhichELcodesnippetwillinsertthiscontextparameterintothefooter?()
A.<ahref=’mailto:${footerEmail}’>Contactme</a>
B.<ahref=’mailto:${initParam@footerEmail}’>Contactme</a>
C.<ahref=’mailto:${initParam.footerEmail}’>Contactme</a>
D.<ahref=’mailto:${contextParam@footerEmail}’>Contactme</a>
E.<ahref=’mailto:${contextParam.footerEmail}’>Contactme</a>
第15题:
下面______正确示范了传递—个参数给applet。
A.<applet code=Test.class age=33 width=100 height=100>
B.<param name=age value
C.<applet Test 33>
D.<aoolet code=Test.class name=age value=33 width=100 height=100>
第16题:
下面哪个选项正确示例了传递一个参数给applet? ( )
A.<applet code=Test.class age=33 width=100 heigh=100>
B.<param name=age value=33>
C.<applet code=Test.class name-age value=33 width=100 height=100>
D.<applet Test 33>
第17题:
要向Applet传递参数,应该在下列drawing.htnll文件的下画线处填入的选项是( )。
A.<param image,”flower.gif”>
B.<param image value=flower.gif>
C.<param name=image value=”flower.gif”>
D.<param name”image”value=”flower.gif”>
第18题:
向Applet传递参数的正确描述是( )。
A.<paramname=age,value=20>
B.<appletcode=Try.class width=100,height=100,age=33>
C.<name=age,value=20>
D.<appletcode=Try.class name=age,value=20>
第19题:
在J2EE中,对于
第20题:
第21题:
表单元素重置按钮的代码为()。
第22题:
var obj=new Object();obj[name]=value;
var obj=new Object();obj.prototype.name=value;
var obj={name:value};
var obj=new function(){this.name=value;}
第23题:
〈param name=allowedTypes〉image/bmp〈/param〉
〈param name=allowedTypes〉*.bmp〈/param〉
〈param name=allowedTypes〉bmp〈/param〉
〈param name=allowedTypes〉image/*.bmp〈/param〉