日期:2014-05-17 浏览次数:21040 次
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%-- <%
response.setCharacterEncoding("UTF-8");
response.setContentType("text/html;charset=UTF-8");
%> --%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<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>
<form action="admin/Notice-update" method="post">
<input type="hidden" name="notice.id" value="<s:property value="notice.id"/>" />
标题:<input name="notice.title" value="<s:property value="notice.title"/>" />
文章内容:<textarea name="notice.content"><s:property value="notice.content"/></textarea>
<input type="submit" value="update" />
</form>
</body>
</html>