<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>showView</title>
<link href="CSS/main.css" type=text/css rel=stylesheet>
</head>
<center>
<body>
<br>
<table border="1" align="center" >
<tr>
<td>ID</td>
<td>用户名称</td>
<td>所属部门</td>
<td align="center">可选操作</td>
<s:iterator value="list" status="index" step="1">
<s:if test="#index.odd == true">
<tr style="background-color:#FFFF00">
</s:if>
<s:else>
<tr>
</s:else>
<td><s:property value="id"/></td>
<td><s:property value="userName"/></td>
<td><s:property value="deparId"/></td>
<td><a href="<s:url action="DeleteUser">
<s:param name="id" value="{id}"/>
</s:url>"/>删除 | <a href="<s:url action="UpdataUser"><s:param name="id" value="{id}"/> </s:url>" />修改 </td>
</s:iterator>
</table>
</body>
</center>
</html>
我想查询出我数据库的东西,要怎么写啊