Which JSTL code snippet can be used to perform URL rewriting?()
第1题:
31. // some code here 32. try { 33. // some code here 34. } catch (SomeException se) { 35. // some code here 36. } finally { 37. // some code here 38. } Under which three circumstances will the code on line 37 be executed?()
第2题:
要使用JSTL的核心标签库,需要在JSP源文件的首部加入如下什么声明语句?()
第3题:
Which the two JSTL URL-related tags perform URL rewriting?()
第4题:
Which three will compile and run without exception?()
第5题:
The source PL/SQL code will be stored in native machine code.
The source PL/SQL code will be stored in interpreted byte code.
The compiled PL/SQL code will be stored in native machine code.
The compiled PL/SQL code will be stored in interpreted byte code.
第6题:
int foo() { /* more code here */ }
void foo() { /* more code here */ }
public void foo() { /* more code here */ }
private void foo() { /* more code here */ }
protected void foo() { /* more code here */ }
第7题:
int foo() { /* more code here */ }
void foo() { /* more code here */ }
public void foo() { /* more code here */ }
private void foo() { /* more code here */ }
protected void foo() { /* more code here */ }
第8题:
It may iterate over arrays, collections, maps and strings.
The body of the tag may contain EL code, but not scripting code.
When looping over collections, a loop status object may be used in the tag body.
It may iterate over a map, but only the key of the mapping may be used in the tag body.
When looping over integers (for example begin1=’1’ end=’10’), a loop status object may not be used in the tag body.
第9题:
Url
Link
Param
Import
Redirect
第10题:
<a href=’<c:url url=foo.jsp/>’ />
<a href=’<c:link url=foo.jsp/>’ />
<a href=’<c:url value=foo.jsp/>’ />
<a href=’<c:link value=foo.jsp/>’ />
第11题:
<c:import page=*foo.jsp”/>
<c:include url=*foo.jsp”/>
<c:include page=*foo.jsp”/>
Importing cannot be done in JSTL. A standard action must be used instead.
第12题:
A
B
C
D
E
F
第13题:
If a vessel subject to PSC inspection, PSC Officer shall give the inspection to the Captain, the given timeframe for rectification of each deficiency is commonly given in a coded form which called “action code”, which code listed below is used for indication of detention of the vessel?()
第14题:
Which the JSTL code snippet can be used to import content from another web resource?()
第15题:
In your Certkiller .com database server the parameter PLSQL_CODE_TYPE has been set to NATIVE. Which object would be achieved by the setting?()
第16题:
〈%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core %〉
〈%@ taglib prefix=x uri=http://java.sun.com/jsp/jstl/xml %〉
〈%@ taglib prefix=fmt uri=http://java.sun.com/jsp/jstl/fmt %〉
〈%@ taglib prefix=sql uri=http://java.sun.com/jsp/jstl/sql %〉
第17题:
The source PL/SQL code will be stored in native machine code.
The source PL/SQL code will be stored in interpreted byte code.
The compiled PL/SQL code will be stored in native machine code.
The compiled PL/SQL code will be stored in interpreted byte code.
第18题:
The instance gets garbage collected.
The code on line 33 throws an exception.
The code on line 35 throws an exception.
The code on line 31 throws an exception.
The code on line 33 executes successfully.
第19题:
<c:import url=foo.jsp/>
<c:import page=foo.jsp/>
<c:include url=foo.jsp/>
<c:include page=foo.jsp/>
第20题:
In the init method.
In the jspInit method.
In the constructor of the JSP’s Java code.
In a JSP declaration, which includes an initializer block.
In a JSP declaration, which includes a static initializer block.
第21题:
This code is NOT thread-safe.
The programmer can replace StringBuffer with StringBuilder with no other changes.
This code will perform well and converting the code to use StringBuilder will not enhance the performance.
This code will perform poorly. For better performance, the code should be rewritten: return “<“+ this.name + “>”;
第22题:
private synchronized Object o;
void go(){ synchronized(){/* code here */}
public synchronized void go(){/* code here */}
private synchronized(this) void go(){/* code here */}
void go(){ synchronized(Object.class){/* code here */}
void go(){ Object o = new Object(); synchronized(o){/* code here */}
第23题:
<c:out>${message}</c:out>
<c:out value=’${message}’ />
<c:out value=’${message}’ escapeXml=’true’ />
<c:out eliminateXml=’true’>${message}</c:out>
<c:out value=’${message}’ eliminateXml=’true’ />