Javaweb

Javaweb

University

51 Qs

quiz-placeholder

Similar activities

B1+ Vocabulary List 1 (Spring)

B1+ Vocabulary List 1 (Spring)

University

49 Qs

MID-Speaking for formal and informal interaction

MID-Speaking for formal and informal interaction

University

50 Qs

VOCAB 451 - 500

VOCAB 451 - 500

University

48 Qs

Ury's Negoatiation Vocab (OralComp: write what your hear)

Ury's Negoatiation Vocab (OralComp: write what your hear)

University

53 Qs

Review OM2 U3-4

Review OM2 U3-4

9th Grade - University

53 Qs

English Diagnostic Test

English Diagnostic Test

University

50 Qs

Review-Basic English Meeting 9-14

Review-Basic English Meeting 9-14

9th Grade - University

50 Qs

VOCAB 76 - 150 NEW

VOCAB 76 - 150 NEW

University

52 Qs

Javaweb

Javaweb

Assessment

Quiz

English

University

Medium

Created by

Phương Đình

Used 2+ times

FREE Resource

51 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The include() method of RequestDispatcher
Sends a request to another resource like servlet, jsp or html
Includes resource of file like servlet, jsp or html
Appends the request and response objects to the current servlet

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What programming language(s) or scripting language(s) does Java Server Pages (JSP) support?
VBScript only
Jscript only
Java only
VBScript, Jscript and Java

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A JSP is transformed into a(n):
Java Applet
Java Servlet
Java Script

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the key difference between using a <jsp:forward> and HttpServletResponse.sendRedirect()?
forward executes on the server while sendRedirect() executes on the client
forward executes on the client while sendRedirect() executes on the server
The two methods perform identically
None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following can not be used as the scope when using a JavaBean with JSP ?
application
response
request
session

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is wrong with the following code ? <% if( strPassword.equals("boss")) { <jsp:forward page="Welcome.jsp" flush="true"/> } else { } %>
Unmatched bracket in for statement
Flush attribute must be false
Keyword 'file' should be used instead of 'page' in the action
Actions cannot be used within scriptlet blocks

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the statement that best describes the relationship between JSP and servlets:
Servlets are built on JSP semantics and all servlets are compiled to JSP pages for runtime usage
JSP and servlets are unrelated technologies
Servlets and JSP are competing technologies for handling web requests. Servlets are being superseded by JSP, which is preferred. The two technologies are not useful in combination
JSPs are built on servlet semantics and all JSPs are compiled to servlets for runtime usage

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for English