练习尚学堂提供的BBS项目
主要练习的知识点:JSP+Servlet+mysql+tomcat
开发思路:
1.连接数据库
2.把数据库的内容展现出来(表格中)
<body>
<table border="1">
<%
while(rs.net()){
%>
<tr>
<td><% =rs.getInt("id")%></td>
<td><% =rs.getString("cont")%></td>
</tr>
<%
}
%>
</table>
</body>
练习尚学堂提供的BBS项目
主要练习的知识点:JSP+Servlet+mysql+tomcat
开发思路:
1.连接数据库
2.把数据库的内容展现出来(表格中)
<body>
<table border="1">
<%
while(rs.net()){
%>
<tr>
<td><% =rs.getInt("id")%></td>
<td><% =rs.getString("cont")%></td>
</tr>
<%
}
%>
</table>
</body>