Topic: tomcat5下jsp调试信息输出的问题

  Print this page

1.tomcat5下jsp调试信息输出的问题 Copy to clipboard
Posted by: freeport
Posted on: 2004-09-03 15:14

我在jsp里面加一句
<%
System.out.println("HELLO");
%>
怎样在控制台可以看到输出呢?
我将该context的deug level改为5,9都不行。
请各位帮忙!

2.Re:tomcat5下jsp调试信息输出的问题 [Re: freeport] Copy to clipboard
Posted by: nothing
Posted on: 2004-09-03 15:47



<%@ page contentType="text/html; charset=GB2312" %>
<%@ page language="java" %>

<%

System.out.println("中华人民共和国,CONSOLE !! ") ; // 输出在console上
out.println("中华人民共和国, IE !! ") ; //输出在client的浏览器上

%>


3.Re:tomcat5下jsp调试信息输出的问题 [Re: freeport] Copy to clipboard
Posted by: freeport
Posted on: 2004-09-03 15:53

怎样在控制台可以看到输出呢?

就是看不到啊。。。

4.Re:tomcat5下jsp调试信息输出的问题 [Re: freeport] Copy to clipboard
Posted by: chuliang
Posted on: 2004-09-07 10:51

<%@ page contentType="text/html; charset=gb2312" %>
<%@ page language="java" %>

5.Re:tomcat5下jsp调试信息输出的问题 [Re: freeport] Copy to clipboard
Posted by: eric_dasini
Posted on: 2004-09-08 11:32

你有控制台吗?
如果你用的时tomcat4。1。 ,当然可以看到了。

6.Re:tomcat5下jsp调试信息输出的问题 [Re: freeport] Copy to clipboard
Posted by: chengbd
Posted on: 2004-09-08 14:37

tomcat 5是将控制台信息写到日志文件里了,去logs目录下看看


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923