if(myResultSet.next()) //如果有记录
{
....
}
{
....
}
解决方案 »
- 关于Java的对象和变量概念的区分.请高手前来解答下,THAKNS
- ssh 连接 linux 问题
- 正则表达式,\b[A-Z](?:[a-z0-9]+[A-Z][a-z0-9]*)+ 是什么意思?
- java生成透明图片问题
- 考试题目
- java IO文件操作的奇怪问题
- eclipse下用java连接mysql 5.0,初学大家帮忙
- ◆大家都来测测打字速度兼谈b/s结构网络打字软件的开发◆
- java如何用jdbc连sybase数据库
- 编译运行jdk1.3\demo\jfc\Notepad\src下源码,出现一个异常,请问原因?谢谢
- 请问能否将编译后的CLASS文件恢复为JAVA,怎么转?
- 菜鸟问题:30分垂手可得
try
{
while(myResultSet.next()) //如果有记录
{
....
}
}
catch(Exception e){
System.out.println(e);
}
By default, they will go to the console where the tomcat is started. You have to modify the startup scripts to redirect them to appropriate files. See Tomcat Mailing List(http://mikal.org/interests/java/tomcat_users/msg03276.html) for a discussion on how to redirect the System.out and System.err.
On the other hand, if you are running Tomcat as an NT Service, you can modify the conf/wrapper.properties file and set wrapper.stdout and wrapper.stderr properties to point to your log files.
的确有问题