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
What are directives in jsp?
What is a jsp container?
What is the jspdestroy() method?
Why are jsp pages the preferred api for creating a web-based client program?
What is jsp syntax?
What is the purpose of
Why do we use jstl tags?
Why jsp and servlets are used?
How does a jsp function?
Explain the various scope values for tag.
What is request scope in jsp?
What are advantages of jsp over asp, php, pure servlets and others?
What is difference between jsp and jstl?
What is session tracking in jsp?
How we can configure init params in jsp?