What happens if i put buffer="10k" and include a file of size 20k? in jsp

Showing Answers 1 - 2 of 2 Answers

krishna

  • Jun 7th, 2006
 

Hi,I think in JSP buffering capability is for only Jsp writer, no matter what the file size is , which we are including . It will check the buffer, when the output is displayed. and it will store the output which has to be displayed in the buffer and if the buffering capacity is full then it will disply the data. If it is not correct plz give me proper answer. thanqkrishna

  Was this answer useful?  Yes

B.Shyam Sundar

  • Jun 12th, 2006
 

if you put buffer=10k and include a  file of 20K

then the jsp will throw Exception if autoFlush=false

else after the 10k is full the 10k of data will be sent to client and again when the buffer is full JspWriter will send the out put to the client.

B.shyam sundar

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions