JSP Interview Preparation Guide
Download PDF
Add New Question

Java JSP Programming basic and advance interview questions and answers.

26 Java JSP Programming Questions and Answers:

1 :: What is JSP technology?

Java Server Page is a standard Java extension that is defined on top of the servlet Extensions. The goal of JSP is the simplified creation and management of dynamic Web pages. JSPs are secure, platform-independent, and best of all, make use of Java as a server-side scripting language.
Post Your Answer

2 :: What is JSP page?

A JSP page is a text-based document that contains two types of text: static template data, which can be expressed in any text-based format such as HTML, SVG, WML, and XML, and JSP elements, which construct dynamic content.
Post Your Answer

3 :: What are the implicit objects in JSP?

Implicit objects are created by the web container and contain information related to a particular request, page, or application. They are request, response, pageContext, session, application, out, config, page and exception.
Post Your Answer

4 :: How many JSP scripting elements and what are they?

There are three scripting language elements:
declarations,
scriptlets,
and expressions.
Post Your Answer

5 :: Why are JSP pages the preferred API for creating a web-based client program?

Because no plug-ins or security policy files are needed on the client systems(applet does). Also, JSP pages enable cleaner and more module application design because they provide a way to separate applications programming from web page design. This means personnel involved in web page design do not need to understand Java programming language syntax to do their jobs.
Post Your Answer
Add New Question