<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'Category_input.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>
<form action="admin/Category-update" method="post">
<input type="hidden" name="category.id" value="<s:property value="category.id"/>" />
name:<input name="category.name" value="<s:property value="categpry.name" />" />
description:<textarea name="category.description"><s:property value="category.description" /></textarea>
<input type="submit" value="update" />
</form>
</body>
</html>
【struts2】一个BBS论坛初步显示Category-updateInput.jsp
最新推荐文章于 2021-02-11 11:35:19 发布