The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes questions on page directive Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "questions on page directive " Watch "questions on page directive " New topic
Author

questions on page directive

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
1.<%@page buffer="none"%>
Specifies the buffering model for the initial “out” JspWriter to
handle content output from the page.
If “none”, then there is no buffering and all output is written
directly through to the ServletResponse PrintWriter.
so if I give a number it means I am using JspWriter out
and if it is "none" I am using PrintWriter out
2.What is the scenario where I will use more than one instance of page directive???

Please clarify my doubt
3.
Note: if autoFlush=true then if the contents of the initial Jsp-
Writer has been flushed to the ServletResponse output stream
then any subsequent attempt to dispatch an uncaught
exception from the offending page to an errorPage may fail.
so I cannot use autoFlush=true and erroPage=url together...is this what the above lines convey.
[ April 10, 2002: Message edited by: shan java ]
 
 
subject: questions on page directive
 
Threads others viewed
some confusion
flush - jsp:include
Can anybody give me some idea?
JSP page strange Output
HttpServletResponse.getWriter
IntelliJ Java IDE