
Talent Next MCQ-7 (HTML, JSP and Servlet)
Authored by raghavendra dwivedi
Computers
University
Used 22+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?