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 standard actions in JSP?

534


What is taglib uri in jsp?

493


Can jsp contain javascript?

488


What are the literals used in jsp?

578


How we can include the result of another page in jsp?

506






Explain some jsp life-cycle methods that can be overridden.

498


How can automatic creation of session be prevented in a jsp page?

548


Which is mandatory in tag in jsp?

471


Can you use javascript in jsp?

484


Can jsp run without server?

468


How to make a “new line in html” in jsp?

529


Which jsp implicit objects are thread safe?

490


What is the _jspservice() method?

507


How do you pass control from one jsp page to another?

507


Explain jsp technology?

530