You are on page 1of 1

The atributes that can be specified with <%@page ....

%>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
info
Default Value : null
Purpose : Information about the page.
errorPage="errpage"
Purpose : gives page to the error page which will be sent
to client in case of exception.
isErrorPage="true / false"
Default Value : false
Purpose : This should be set to error pages.
contentType="type/value"
Default : "text/html"
Purpose : used to set content type
isThreadSafe="true/false"
Default : true
Purpose : multiple threads can simultaniously access this
page. Developer has to make sure the shared variable
s are managed properly.
buffer="none/8kb/sizekb"
Default : "8kb"
Purpose : indicates whether the buffer has to be used before
sending to client or not.
autoFlush="true/false"
Default : true
Purpose : When the buffer is full automatically data will be sent
to client instead of throwing exception
session="true/false"
Default : true
Purpose : to indicate whether session data is to be available to
this page or not.
extends="somepack.someclass"
Default : null
Purpose : the parent class of the generated servlet.

You might also like