将此文件保存为testimageoutjsp文件下一步要做的工作就是使用HTML标记
<%@ page contentType=
text/html;charset=gb
%>
<%@ page import=javasql* %>
<%@ page import=javautil*%>
<%@ page import=javatext*%>
<%@ page import=javaio*%>
<jsp:useBean id=conn scope=page class=dbconnDBResult/>
<%
String path = requestgetContextPath();
String basePath = requestgetScheme()+://+requestgetServerName()+
:+requestgetServerPort()+path+/;
%>
<!DOCTYPE HTML PUBLIC //WC//DTD HTML Transitional//EN>
<html>
<head>
<base href=<%=basePath%>>
<title>My JSP lookpicjsp starting page</title>
<meta httpequiv=pragma content=nocache>
<meta httpequiv=cachecontrol content=nocache>
<meta httpequiv=expires content=>
<meta httpequiv=keywords content=keywordkeywordkeyword>
<meta httpequiv=description content=This is my page>
<!
<link rel=stylesheet type=text/css href=stylescss>
>
</head>
<body>
<%
String sql = select * from p;
ResultSet rs=conngetResult(sql);
while(rsnext())
{
%>
<ccid_file values=testimageout % /> width= height=>
<br>
<%
}
rsclose();
%>
</body>
</html>
[] [] [] []