Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

questions on page directive

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic