• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

page buffering

 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am confused about buffering pages.
If I specify
<@page buffer="none"> can I still use the implicit outvariable?
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dear aruna,

<@page buffer="none"> can I still use the implicit outvariable


Here declaring "buffer=none" for a jsp page, is not restricting u to use a variable out.
but as u write something to out
by using out.print() or out.println(), it will directly send that to client browser.
May somebody else can throw more light on it.
Best regards, Dharmin
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There should not be any problem in using the "out" variable if buffer="none" as the response would still be commited to the client.
The only catch is that as long as autoFlush="true", it should be just fine.
 
reply
    Bookmark Topic Watch Topic
  • New Topic