我说得输出信息是指system.out.println(message);
呵,很简单啊,你在输出信息时:
System.out.println("这里写你所在的线程不就可以了吗:"+message);
呵,很简单啊,你在输出信息时:
System.out.println("这里写你所在的线程不就可以了吗:"+message);
解决方案 »
- java socket 怎么发送命令字符串 让服务器执行 然后获得执行结果
- 关于数据库类型和程序类型匹配问题
- 怎么用setFont()改变窗口字体
- 关于JAVA的输入输出
- 急需SQL方面在CS模式java的小型程序应用
- 高手进来看看!!? 超难度的报表!
- 请问怎样才能在jTable中单击一个单元格后将其中的数据提取出来?
- 很简单的问题,没有人知道吗?
- 下周开始课程设计,一点经验没有,不知从何入手,请各位指点。
- Java 8 Stream 之 short-circuiting
- 请问Struts的Action类中的perform()和execute()有什么不同?
- import的奇怪问题!!高分送上!!
wstr = new String(wstr.getBytes(),"GB2312"); FileWriter fw= new FileWriter(fileName,true);
PrintWriter out = new PrintWriter(fw,true); out.println(wstr);
out.close();
fileName 为字符串
前面仿caoco的system.setout(out)
system.seterr(out)