⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 updlist.jsp

📁 Struts入门的一个好例子 Struts入门的一个好例子
💻 JSP
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/struts/jsp/include/taglib.jsp"%>

<html>
  <head>
    <title>Add</title>
  </head>
  <body>
    <html:form action="/daily">
      <h1><bean:message key="daily.ist" /></h1>
      <hr />
      
      <logic:notEmpty name="dailies">
      <table border="1">
        <tr>
            <th><bean:message key="common.id" /></th>
            <th><bean:message key="daily.daily_date" /></th>
            <th><bean:message key="daily.daily_weather" /></th>
            <th><bean:message key="daily.daily_pos" /></th>
            <th><bean:message key="daily.daily_content" /></th>
        </tr>
        <logic:iterate name="dailies" id="info" indexId="index">
        <tr>
            <td>
                <bean:write name="info" property="id" />
                <html:hidden name="info" property="id" indexed="true" />
                <br>
            </td>
            <td>
                <html:text name="info" property="daily_date_dsp" indexed="true"></html:text>
            </td>
            <td>
                <html:text name="info" property="daily_weather" indexed="true"></html:text>
            </td>
            <td>
                <html:text name="info" property="daily_pos" indexed="true"></html:text>
            </td>
            <td>
                <html:text name="info" property="daily_content" indexed="true"></html:text>
            </td>
        </tr>
        </logic:iterate>      
      </table>
      </logic:notEmpty>
      
      <html:submit onclick=
        "document.forms[0].action = document.forms[0].action+'?method=updSel'">
        <bean:message key="common.upd" />
      </html:submit>
    </html:form>
  </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -