printwriter
- 网络输出流;字符打印流;字符流
printwriter
-
Also , the results of the controller logic are written out using the PrintWriter .
而且,控制器逻辑的结果要用PrintWriter写入。
-
Finally , since this is a servlet , we set the appropriate content type and flush the data from the PrintWriter .
最后,由于这是一个servlet,我们会设置相应的内容类型,并使用来自PrintWriter的数据刷新它。
-
With a PrintWriter , you can now output string-based content .
使用PrintWriter,您现在可以输出基于字符串的内容了。
-
Another option , which we didn 't use in our example , lets you use PrintWriter in the servlet to print the form embedded in the page .
另外一种方式(我们在例子中并未使用)是允许使用servlet内的PrintWriter打印嵌入在此页面内的表单。