What is JSP?

What is JSP?

- JSP is a technology that returns dynamic content to the Web client using HTML, XML and JAVA elements.
- JSP page looks like a HTML page but is a servlet.
- It contains Presentation logic and business logic of a web application.
- A JSP page is a text document that contains two types of text: static data, which can be expressed in any text-based format (such as HTML, SVG, WML, and XML), and JSP elements, which construct dynamic content.
- The file extension for the source file of a JSP page is .jsp. It can be composed of a top file that includes other files that contain either a complete JSP page or a fragment of a JSP page.
- The recommended extension for the source file of a fragment of a JSP page is .jspf.
- The JSP elements in a JSP page can be expressed in two syntaxes, standard and XML, though any given file can use only one syntax.
- A JSP page in XML syntax is an XML document and can be manipulated by tools and APIs for XML documents.
What is co-variant return type in java?
A covariant return type allows to override a super class method that returns a type that sub class type of super class method’s return type. It is to minimize up casting and down casting......
Define collable collections in java
A callable collection is an interface whose implementers define a single method with no arguments. The Callable interface resembles Runnable..
Purpose of making a method thread safe - Java
Java supports threads natively without using additional libraries. Using ‘synchronized’ key word makes the methods thread safe.......
Post your comment