• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Does Buffering reduces the network Traffic??

 
Andy Smith
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HttpServletResponse object has the facility to budder the response..
is that to reduce the traffic or what??? What are all other uses of buffering ..
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Buffering allows content to be written before anything is actually sent back to the client, thus providing the servlet with more time to set appropriate status codes and headers or forward to another Web resource.

By reading the passage above, we can see that buffering is typically for the use of manipulating the response, while in buffer...
I got that information from J2EE tutorial of Sun...
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets7.html
It's nice to share knowledge with you, Andy...
 
Andy Smith
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thats was really a good answer ..thanxz Naing...
Hey Naing as i alwayz say ....
Knowledge increases with sharing unlike wealth..
Share knowledge to gain it..
And naing we can c this fact .. we r really learning something with our discussions.. it makes work fast .. and it increases the thinking process.... i would like to encourage all people there to participate more ..... I Persoanlly think that the participation level is very less in this forum as compared to what its should be...
May be i m worng...or the people out there are perfect so dont need any Sharing....
But still try it...
Its good, fun and fast...
Naing we will keep on discussing the topics.. and who knows what we can learn new....as learnign is the never ending process....
My aim is to score 90+ in SCWCD..thats y i dont want to keep any stone unturned..
Wat do u say Naing..?
Any body else there???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic