JSP Include directive

Include directive is a type of directive tag. If a programmer wants to include contents of a file inside another, then the Include directive is used. The file included can …

JSP page directive – contentType

 contentType attribute is used to set the mime type and character set of the JSP. The user can make use of any MIME type or character set valid for the …

JSP page directive – isErrorPage

isErrorPage attribute is used to specify whether or not a JSP page displays an error page by setting the value as true or false. By default, the value is set …

JSP page directive – errorPage

If the programmer wants to place errors in a different page then the URL to the error page can be mentioned in this attribute as errorPage. Syntax of errorPage attribute …

JSP page directive – info

Programmers make use of info attribute to place the information or documentation for a page. Details such as: author, version, copyright and date are placed in this attribute. This is actually …

JSP page directive – isThreadSafe

isThreadSafe attribute is used to set whether the generated Servlet handles multiple requests or single requests, depending on the set value of true or false. isThreadSafe attribute is used to set …

JSP page directive – autoFlush

autoFlush attribute is used to specify whether or not to automatically flush out the output buffer when it is full.  Syntax of autoFlush attribute available for page directive is written as: …

JSP page directive – buffer

If a programmer likes to control the use of buffered output for a JSP page then the buffer attribute can be made use of for achieving this. Syntax of buffer attribute …

JSP page directive – session

 The session attribute, when set to true, sets the page to make use of sessions. NOTE: by default, the session attribute value is set to true therefore, all JSP pages …

JSP page directive – import

The import attribute is used to import all the classes in a java package into the current JSP page. With this facility, the JSP page can use other java classes. …