Talent Next MCQ-7 (HTML, JSP and Servlet)

Talent Next MCQ-7 (HTML, JSP and Servlet)

University

15 Qs

quiz-placeholder

Similar activities

HTML Basics

HTML Basics

University

11 Qs

Servlets & JSP

Servlets & JSP

University

10 Qs

Overview of Java Web Development

Overview of Java Web Development

University

10 Qs

Programación 2 - Segundo Parcial

Programación 2 - Segundo Parcial

University

10 Qs

HTML Introduction

HTML Introduction

3rd Grade - Professional Development

10 Qs

Web Development

Web Development

University

15 Qs

HTML Basics

HTML Basics

University

12 Qs

PEMROGRAMAN WEB

PEMROGRAMAN WEB

University

20 Qs

Talent Next MCQ-7 (HTML, JSP and Servlet)

Talent Next MCQ-7 (HTML, JSP and Servlet)

Assessment

Quiz

Computers

University

Hard

Created by

raghavendra dwivedi

Used 22+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which page directive should be used in JSP to generate a PDF page?

contentPDF

contentType

generatePdf

typePDF

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which tag should be used to pass information from JSP to included JSP?

<%jsp:param> tag

<%jsp:page> tag

<%jsp:import> tag

<%jsp:useBean> tag

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is not a directive?

include

page

export

useBean

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is mandatory in <jsp:useBean /> tag?

type, property

id, class

id, type

type,id

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following action variable is used to include a file in JSP?

jsp:setProperty

jsp:plugin

jsp:include

jsp:getProperty

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What temporarily redirects response to the browser?

<jsp:forward>

<%@directive%>

response.sendRedirect(URL)

response.setRedirect(URL)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the difference between servlets and applets?

i. Servlets execute on Server; Applets execute on browser

ii. Servlets have no GUI; Applet has GUI

iii. Servlets creates static web pages; Applets creates dynamic web pages

iv. Servlets can handle only a single request; Applet can handle multiple requests

i, ii are correct

i, ii, iii are correct

i, iii are correct

i, ii, iii, iv are correct

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?