Javaweb

Javaweb

University

51 Qs

quiz-placeholder

Similar activities

HCT B1+ Vocabulary List 1 (Spring)

HCT B1+ Vocabulary List 1 (Spring)

7th Grade - University

49 Qs

LSC 0303 Vocabulary B1+ Fall List 5 and 6

LSC 0303 Vocabulary B1+ Fall List 5 and 6

University

50 Qs

NEW PRACTICE VOCAB 11

NEW PRACTICE VOCAB 11

University

48 Qs

T1-T9 ECO18 READ

T1-T9 ECO18 READ

University

47 Qs

ENGLISH VOCABULARY 2

ENGLISH VOCABULARY 2

University

47 Qs

Final Quiz 2

Final Quiz 2

University

55 Qs

NEW VOCAB 11: MEETING- GENERAL OFFICE

NEW VOCAB 11: MEETING- GENERAL OFFICE

University

49 Qs

soal bing kls 9 baru

soal bing kls 9 baru

9th Grade - University

50 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?