Become a GOLD member of Deccansoft and get access to 40+ courses!!
NewBatches/Webinars
Packages
Gold Membership
Bestseller
Microsoft Azure Suite & Suite Plus
Power Platform Acadamy
New
Azure DevOps Expert & Expert Plus
MS.NET Foundation For Beginners
MS.NET Full Stack Developer
UI / Web Development
SQL Server & MSBI Tools
Software Testing
Courses
MS.NET Courses (Includes Live Project)
Complete C#, OOPs and Windows Programing
ASP.NET MVC Online Training
ASP.NET WebForms
ASP.NET Core
WCF incl. Web Services and Remoting
WPF incl. MVVM and Prism
LINQ and Entity Framework
Live Project Training for Developing Enterprise Application
Live Project using Ntier Arch (.NET5 + EF Core + Angular)
Gold Membership
CareerStep IT Program
Client-side UI Technologies
Building Static Web Pages using HTML and CSS
JavaScript and HTML DOM
jQuery, AJAX and JSON
Building Interactive Web Pages using HTML5 and CSS3
BootStrap + Live Examples
AngularJS + Live Project
Angular + Typescript
ReactJS
KnockoutJS
Xamarin
SQL Server + MSBI
SQL Server 2017
Querying Data with Transact-SQL(70-761)
SQL Server Integration Service (SSIS)
SQL Server Reporting Service (SSRS)
SQL Service Analysis Service (SSAS)
Cloud Computing / Azure / AWS
AZ-900: Microsoft Azure Fundamentals
Azure Suite (AZ-104+AZ-204+AZ-305+ AZ-500)
AZ-104: Microsoft Azure Administrator
AZ-204: Developing Solutions for Microsoft Azure
AZ-305: Microsoft Azure Architect Technologies and Design
AZ-400: Microsoft Azure DevOps
DP-203: Data Engineering on Microsoft Azure
Amazon Web Services (AWS)
Testing Tools
Manual Testing
Selenium Testing with Java(Live Training)
SharePoint
SharePoint 2013
Microsoft Power Platform
Microsoft Power Platform
Data Analytics using PowerBI (DA-100)
DevOps
Docker
Kubernetes
Microservices using .NET Core
Others
C and Data Structure
Core Java
OOPs and C++
Advance Java
Python Programming
Complete Azure Training
Pricing
Videos
Testimonials
Azure Certification
Contact Us
Login
Login or Register
×
Sign In
Register
Forgot Password?
How did you find us
WhatsApp
YouTube
LinkedIn
Facebook
Telegram
Twitter
Google
Referred by Friend
Refresh
Input symbols
By clicking Register, you accept to the
terms and conditions
and that you have read our
privacy policy.
Recover Password
×
Submit
Enquiry Now
Where did you come to know about us
WhatsApp
YouTube
LinkedIn
Facebook
LinkedIn Ad
Email
Twitter
Google
Referred
Other
Refresh
Input symbols
Web App Development using JSP
Interview Questions and Answer
1. 1.request is instance of which class?
Options:
a. Request
b. HttpRequest
c. HttpServletRequest
d. ServletRequest
Reveal Answer
2. 2.This object can be used to access other implicit objects in JSP.
Options:
a. request
b. page
c. context
d. pageContext
Reveal Answer
3. 3.Which of the following are the valid scopes in JSP?
Options:
a. request, page, session, application
b. request, page, session, global
c. response, page, session, application
d. request, page, context, application
Reveal Answer
4. 4.Which of the following is true about session scope?
Options:
a. Object created with request scope are accessible only from the page in which they are created.
b. Object created with request scope are accessible only from the pages which are in same session.
c. Object created with request scope are accessible only from the pages which are processing the same request.
d. Object created with request scope are accessible only from the pages which reside in same application.
Reveal Answer
5. 5.Which of the following method can be used to read parameters names?
Options:
a. request.getParameter()
b. response.getParameter()
c. request.getParameterNames()
d. response.getParameterNames()
Reveal Answer
6. 6.Which of the following is true about autoFlush Attribute?
Options:
a. The autoFlush attribute can specify that buffered output should be flushed automatically when the buffer is filled.
b. The autoFlush attribute can specify that an exception should be raised to indicate buffer overflow.
c. Both of the above.
d. None of the above.
Reveal Answer
7. 7.What is the default value of isELIgnored attribute?
Options:
a. true
b. false
Reveal Answer
8. 8.Which of the following is true about <jsp:forward> action?
Options:
a. The forward action terminates the action of the current page.
b. The forward action forwards the request to another resource such as a static page, another JSP page, or a Java Servlet.
c. Both of the above.
d. None of the above.
Reveal Answer
9. 8.Which of the following is true about <jsp:forward> action?
Options:
a. The forward action terminates the action of the current page.
b. The forward action forwards the request to another resource such as a static page, another JSP page, or a Java Servlet.
c. Both of the above.
d. None of the above.
Reveal Answer
10. 9.Can you make use of a ServletOutputStream object from within a JSP page?
Options:
a. true
b. false
Reveal Answer
11. 10.Which of the following is true about <c:param> tag?
Options:
a. The <c:param> tag allows proper URL request parameter to be specified with URL.
b. The <c:param> tag does any necessary URL encoding required
c. Both of the above.
d. None of the above.
Reveal Answer
12. 11._jspService() method of HttpJspPage class should not be overridden.
Options:
a. True
b. False
Reveal Answer
13. 12.Which of the following is a server side technology?
Options:
a. html
b. jsp
c. javaScript
d. css
Reveal Answer
14. 13.Which is the methods of generated Servlet?
Options:
a. jspInit()
b. jspService()
c. jspDestroy()
d. All of the above
Reveal Answer
15. 14.Which of the following is true about language attribute?
Options:
a. The language attribute indicates the programming language used in scripting the servlet.
b. The language attribute indicates the programming language used in scripting the html page.
c. The language attribute indicates the programming language used in scripting the JSP page.
d. None of the above
Reveal Answer
16. 15.Which of the following method can be used to read a multiple values with same name, for example check box selections?
Options:
a. request.getParameter()
b. response.getParameter()
c. request.getParameterValues()
d. response.getParameterValues()
Reveal Answer
17. 16.What happens when buffer is set to a value "none"?
Options:
a. Servlet output is immediately directed to the response output object
b. Compilation error.
Reveal Answer
18. 17.Which of the following is true about isELIgnored Attribute?
Options:
a. The isELIgnored option gives you the ability to disable the evaluation of Expression Language (EL) expressions.
b. The default value of the isELIgnored attribute is true.
c. Both of the above.
d. None of the above
Reveal Answer
19. 18.Which of the following step is taken by JSP container during Compilation phase?
Options:
a. Parsing the JSP.
b. Turning the JSP into a servlet.
c. Compiling the servlet.
d. All of the above.
Reveal Answer
20. 19.What JSTL stands for?
Options:
a. JavaServer Pages Standard Tag Library
b. JSP Tag Library
c. Java Standard Tag Library
d. None of the above.
Reveal Answer
21. 20.Which of the following is true about <c:forEach > tag?
Options:
a. The <c:forEach > exists as a good alternative to embedding a Java for, while, or do-while loop via a scriptlet.
b. The <c:forEach > is used to iterate over a list of items in jsp
c. Both of the above.
d. None of the above
Reveal Answer
Packages
Gold Membership
Microsoft Azure Suite &Suite Plus
Azure DevOps Expert &Expert Plus
MS.NET Foundation For Beginners
MS.NET Full Stack Developer
UI / Web Development
SQL Server & MSBI Tools
Software Testing
Resources
Blog
Deccansoft
AzureA2Z
Wall of Fame
On-Job Tech Support
About
About BestDotNetTraining
About Trainer
Testimonials
FAQ
Other links
About Us
Contact Us
Leave us a feedback
Sitemap
Privacy Policy
Terms & Conditions
Proudly Powered by