怎么把eclipse控制台上的内容显示到jsp网页上?

如题所述

第1个回答  推荐于2016-11-13
Servlet中使用
PrintWriter out=response.getWriter()
out.println("内容")

jsp页面中使用
out.println("内容")本回答被提问者采纳
第2个回答  2011-04-19
Console con = System.console();
PrintWriter out = .....
if(con != null){
out.println(con.readLine());
}
第3个回答  2011-04-19
使用out.print()
相似回答