Struts执行出来乱码

qq_41235537 2017-12-01 10:22:28
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'QueryAllUsers.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->

</head>

<body>
<h3>显示用户信息</h3>
<table border=1>
<thead>
<tr>
<th>姓名</th>
<th>密码</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<s:iterator var="u" value="#session.users">
<tr>
<td><s:property value="#u.uname" /></td>
<td><s:property value="#u.upwd" /></td>
<td>
<s:a href="Users_queryone.action?uname=%{#u.uname}">编辑 </s:a>
<s:a href="Users_delete?uname=%{#u.uname}">删除</s:a>

</td>

</tr>
</s:iterator>
</tbody>
</table>
<br>
<a href="Login.jsp">返回登录页面</a>
</body>
</html>
...全文
106 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧