Javaweb built-in objects out objects

1.out.println () to the client output string
2.out.flush () the output buffer contents to the client
3. out.clearBuffer () clear the contents of the buffer
sample code;

out built-in objects

<% Out.clearBuffer (); // clear the buffer contents, that is,

Title content is not displayed. out.println ( "Welcome to learn out built-in object
"); out.flush (); // set the buffer content delivered to the client out.println ( "First: common way out object");%>

! [Insert Picture description here] (https://img-blog.csdnimg.cn/20190605112130336.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MzIzMjQyMw==,size_16,color_FFFFFF,t_70)

Guess you like

Origin blog.csdn.net/weixin_43232423/article/details/90899390