正在阅读:JSP中捕获 OUT 输出的例子JSP中捕获 OUT 输出的例子

2004-09-03 14:49 出处:CSDN 作者:liboy 责任编辑:linjixiong


  public final void print(float f)
  throws IOException
  {
  os.write( String.valueOf(f) );
  }

  public final void print(double d)
  throws IOException
  {
  os.write( String.valueOf(d) );
  }

  public final void print(char s[])
  throws IOException
  {
  os.write( String.valueOf(s) );
  }

  public final void print(String s)
  throws IOException
  {
  os.write( s );
  }

  public final void print(Object o)
  throws IOException
  {
  os.write( String.valueOf(o) );
  }

  public final void println()
  throws IOException
  {
  os.write( "\n\r" );
  }

  public final void println(boolean b)
  throws IOException
  {
  os.write( String.valueOf(b) );
  }

  public final void println(char ch)
  throws IOException
  {
  os.write( String.valueOf(ch) );
  }

  public final void println(int i)
  throws IOException
  {

 


察看评论详细内容 我要发表评论
作者笔名 简短内容 发表时间
:

键盘也能翻页,试试“← →”键

关注我们

最新资讯离线随时看 聊天吐槽赢奖品