JSP Interview Questions and Answers
Related differences
Ques 1. What is JSP Compiler and where are compiled JSP Java files?
JSP are automatically compiled at runtime.
Ques 2. Is JSP technology extensible?
YES. JSP technology is extensible through the development of custom actions, or tags, which are encapsulated in tag libraries.
Ques 3. What is the ResourceBundle class in JSP?
The ResourceBundle class is used to store locale-specific resources that can be loaded by a program to tailor the program's appearance to the particular locale in which it is being run.
Ques 4. What is the difference between a Scrollbar and a ScrollPane in JSP?
A Scrollbar is a Component, but not a Container. A ScrollPane is a Container. A ScrollPane handles its own events and performs its own scrolling.
Ques 5. What is a Java package and how is it used?
A Java package is a naming context for classes and interfaces. A package is used to create a separate namespace for groups of classes and interfaces. Packages are also used to organize related classes and interfaces into a single API unit and to control accessibility to these classes and interfaces.
Most helpful rated by users:
- What is a JSP and what is it used for?
- What are the two kinds of comments in JSP and what's the difference between them ?
- What is difference between custom JSP tags and beans?
- Is JSP technology extensible?
- What is JSP page?