社区
Web 开发
帖子详情
help!!-----Online----现给分!!!
眼镜猴子
2003-03-27 05:06:55
我想在jsp网页中显示多个数据表的查询结果
如:
select s.name c.course from studenttable s coursetable c where s.id="990045";
在executeQuery(sql)执行后结果集中的查询结果如何做才能在jsp网页中显示
...全文
52
9
打赏
收藏
help!!-----Online----现给分!!!
我想在jsp网页中显示多个数据表的查询结果 如: select s.name c.course from studenttable s coursetable c where s.id="990045"; 在executeQuery(sql)执行后结果集中的查询结果如何做才能在jsp网页中显示
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
9 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
眼镜猴子
2003-03-27
打赏
举报
回复
Thanks!------放分!!
foolbirds
2003-03-27
打赏
举报
回复
<%=rs.getString(1)%>
<%=rs.getString(2)%>
或者
<%=rs.getString(表.列名)%>
<%=rs.getString(表.列名)%>
眼镜猴子
2003-03-27
打赏
举报
回复
zxhong(红透半边天) takecare(大厅) moumouren(某某人) 还在吗?
眼镜猴子
2003-03-27
打赏
举报
回复
up!
眼镜猴子
2003-03-27
打赏
举报
回复
可以直接这样吗?
String name=rs.string("表名.列名");
moumouren
2003-03-27
打赏
举报
回复
<%
Result rs = stmt.executeQuery(sql);
while(rs.next()){
out.println(rs.getString(1));
}
%>
takecare
2003-03-27
打赏
举报
回复
<%
ResultSet rs = stmt.executeQuery(sql);
String name = null;
String course = null;
while (rs.next()) {
name = rs.getString(1);
course = rs.getString(2);
%>
name: <%= name %>
course: <%= course %>
<% } %>
zxhong
2003-03-27
打赏
举报
回复
<%=rs.getString(1)%>
<%=rs.getString(2)%>
gks_cn
2003-03-27
打赏
举报
回复
java.sql.resultset rs=executeQuery(sql);
while (rs.next())
{
out.print (rs.getString(1));
}
一文读懂Redis6的--bigkeys选项源码以及redis-bigkey-
onli
ne
项目介绍
本文
分
为两个部
分
,第一是详细讲解Redis6的--bigkeys选项相关源码是怎样实现的,第二部
分
为自己对--bigkeys源码的优化项目redis-bigkey-
onli
ne
的介绍。redis-bigkey-
onli
ne
是自己开发的非常好用、高效的bigkey查找工具,因为是修改的源码,所以是直接整合在redis-cli程序中,由官方的改为即可使用,则保存了用户的个性化设定,包括需要输出哪些类型的bigkey、输出前N个bigkey、设定bigkey判断阈值等功能。
新概念1 中英对照
----
-
----
-
1
----
-
----
-
Excuse me!Yes?Is this your handbag?Pardon?Is this your handbag?Yes, it is.Thank you very much.---对不起什么事?这是您的手提包吗?对不起,请再说一遍。这是您的手提包吗?是的,是我的。非常感谢!
----
-
----
-
3
----
-
----
-
Lesson 3 Sorry, sir.对不起,先生。Listen to the tape then answer this quest
MySQL在线DDL gh-ost 使用说明
原文:gh-ost: GitHub's
onli
ne
schema migration tool for MySQL http://github.com/github/gh-ost MySQL在线更改schema的工具很多,如Percona的pt-
onli
ne
-schema-change、 Facebook的OSC和LHM等,但这些都是基于触发器(Trigger)的,...
! [rejected] master -> master (fetch first) 【以及游离状态解决】
详情如下: Administrator@Alex MINGW64 /d/PICC/picc_server (master) $ git push To http://xx.xxx.xx.xxx:xxxx/xxxx/xx_server.git ! [rejected] master -&amp;amp;amp;gt; master (fetch first) error: failed to push...
python3-函数与参数以及空值
Python定义函数使用关键字 def,后跟函数名与括号内的形参列表。函数语句从下一行开始,并且必须缩进。程序2-7-10-1.py定义了函数getSum,完成参数求和后返回。#!程序2-7-10-1.py执行结果如下:110程序2-7-10-1.py执行过程如下:1、定义函数getSum,使用def关键字+函数名getSum的方式进行定义,参数为括号内的4个变量x1、x2、x3、x4。函数的执行体为函数定义的下一行,共2行。
Web 开发
81,122
社区成员
341,744
社区内容
发帖
与我相关
我的任务
Web 开发
Java Web 开发
复制链接
扫一扫
分享
社区描述
Java Web 开发
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章