What are JSP Directives?

Answer Posted / guest

A JSP directive affects the overall structure of the servlet
class. it usually has the following form:
<%@ directive attribute="value" %>
How ever , you can also combine multiple attribute settings
for a single directive, as follows:
<%@ directive attribute1="value1" attribute2="value2" --
attrubuteN="value N" %>
These are two main types of diretive:page, which lets to
do things like import classes,customize the servlet
superclass, and the like; and include,which lets to insert a
file into the servlet class at the time the JSP file is
translated into a servlet.

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are directives in jsp?

497


What is a jsp container?

490


What is the jspdestroy() method?

552


Why are jsp pages the preferred api for creating a web-based client program?

538


What is jsp syntax?

459






What is the purpose of ?

504


Why do we use jstl tags?

499


Why jsp and servlets are used?

507


How does a jsp function?

497


Explain the various scope values for tag.

509


What is request scope in jsp?

514


What are advantages of jsp over asp, php, pure servlets and others?

478


What is difference between jsp and jstl?

471


What is session tracking in jsp?

493


How we can configure init params in jsp?

533