Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

page directive  RSS feed

 
nirali shah
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I see page directive, its like <%@ page language="java" import="java.sql.*" %>
It is to import some package. Is there any other use of this page directive ?
What is meant by "page" in page directive ? "include" directive includes some file, so it makes sense. What does "page" in page directive do ?

thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It supplies properties for the current JSP page. You can find it fully described in the JSP Specification (see JSP FAQ for links).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!