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 is server context?
How can you make the finally clause not to fail to execute?
What is the difference between jsp and php?
What is called jsp directive?
What is expression language in jsp?
How can html output be prevented from being cached?
What are the features of jsp?
A jsp page, include.jsp, has a instance variable "int a", now this page is statically included in another jsp page, index.jsp, which has a instance variable "int a" declared. What happens when the index.jsp page is requested by the client?
How do we prevent browser from caching output of my jsp pages?
What is the jsp:getproperty action?
What is an api with example?
Can a constructor be used in place of init() method to initialize a servlet?
How to access java variable in jsp?
What are the standard actions available in jsp?
What is jsp scriptlet?