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
Explain the difference between servlet and jsp?
How is jsp used in the mvc model?
What language is jsp?
How do I save a jsp file?
Why is it that JComponent have add() and remove() methods but Component doesn’t?
Can we use javascript in jsp?
What is response sendredirect?
What is the resourcebundle class in jsp?
Explain JSP Output comments?
What is the scope of response object?
What is the major difference between servletcontext and pagecontext?
How can I use jsp in the mvc model?
Is jsp and javascript same?
Why jsp is faster than servlet?
What is difference between page and pagecontext in jsp?