1.

Explain the anatomy of a JSP page?

Answer»

Different JSP elements are used for generating the parts of the page that DIFFER for each request. A JSP page is a regular web page with different JSP elements. The three types of elements with JavaServer Pages are directive, action, and SCRIPTING elements. JSP elements are often used to work with JavaBeans.

The elements of the page that are not JSP elements are simply called the “template text”. The template text is commonly HTML, but it could also be any other text.

When a page request of JSP is PROCESSED, the template text and the dynamic content GENERATED by the JSP elements are merged, and the RESULT is sent as the response to the browser.



Discussion

No Comment Found