①out-javax.servlet.jsp.jspwriter
The Out object is used to output the results to the Web page.
Method:
1. void clear ();
Clears the contents of the output buffer, but does not output to the client.
2. void Clearbuffer ();
Clears the contents of the output buffer and outputs it to the client.
3. void Close ();
Closes the output stream and clears all content.
4. void Flush ();
The data inside the output buffer.
5. int getbuffersize ();
Gets the current buffer size in kilobytes.
6. int getremaining ();
Gets the amount of space that is not occupied in a buffer in kilobytes.
7. Boolean Isautoflush ();
Whether the buffer is automatically refreshed.
8. void newline ();
Output a newline character.
9. Void Print (Boolean B);
void print (char c);
void print (char[] s);
void print (double d);
void print (float f);
void print (int i);
void print (long L);
void print (Object obj);
void print (String s);
Outputs the specified type of data to the HTTP stream without wrapping.
void println (Boolean B);
void println (char c);
void println (char[] s);
void println (double D);
void println (float f);
void println (int i);
void println (long L);
void println (Object obj);
void println (String s);
Outputs the specified type of data to the HTTP stream and outputs a newline character.
Appendable append (char c);
Appendable Append (charsequence cxq, int start, int end);
Appendable Append (charsequence cxq);
Adds a character or an object that implements the Charsequence interface to the back of the output stream.