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 is application in jsp?

543


What is jsessionid?

607


Which jsp implicit objects are thread safe?

561


Differentiate between jsp scriptlet tag and declaration tag.

742


How does a jsp engine work?

591






How do I use sendredirect?

588


What happens when a page is statically included in another jsp page?

639


Why is jstl used?

584


How does jsp engines instantiate tag handler classes instances?

555


What is a tag file?

554


When does a container initialize multiple jsp / servlet objects?

692


How to configure init parameters for jsp?

560


What are the different types scripting elements in jsp?

582


Is jsp static or dynamic?

587


What is the purpose of jsp?

629