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

📄 entry.jsp

📁 JSP+Struts+缓存的公司管理系统
💻 JSP
字号:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %><%@ taglib uri="/WEB-INF/jstl-core.tld" prefix="c" %><html:form method="post" action="/Log/save"><html:hidden property="strutsAction"/>  <table bgcolor="#666666" cellpadding="1" cellspacing="0" border="0" width="500">
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" width="500">
<tr>
<td bgcolor="#fecc51">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" width="500">  <tr>
<td bgcolor="#d6e0ed">        <c:choose>      <c:when test="${requestScope['logForm'].strutsAction == 1}">        <bean:message key="label.add"/>      </c:when>      <c:otherwise>        <bean:message key="label.edit"/>      </c:otherwise>    </c:choose>    &nbsp;Log      </td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="5%"></td><td width="19%"></td><td width="76%"></td>
</tr>  <tr>
<td>
<table bgcolor="#f2f2f2" width="500" cellspacing="0" border="0">    <tr bgcolor="#FFFFFF">
<td width="5%"></td><td width="19%"></td><td width="76%"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="5%"></td><td width="19%"></td><td width="76%"></td>
</tr>    <c:choose>      <c:when test="${requestScope['logForm'].strutsAction == 1}">    <tr>
<td width="5%"></td><td width="19%"><font color="#022077" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><bean:message key="Log.year"/></b></font></td><td width="76%"><font size="2" face="Tahoma"><html:select property="year"><html:option value="2001"><bean:message key="Log.year.2001"/></html:option><html:option value="2002"><bean:message key="Log.year.2002"/></html:option><html:option value="2003"><bean:message key="Log.year.2003"/></html:option><html:option value="2004"><bean:message key="Log.year.2004"/></html:option><html:option value="2005"><bean:message key="Log.year.2005"/></html:option><html:option value="2006"><bean:message key="Log.year.2006"/></html:option></html:select></font></td>
</tr>    <tr>
<td width="5%"></td><td width="19%"><font color="#022077" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><bean:message key="Log.month"/></b></font></td><td width="76%"><font size="2" face="Tahoma"><html:select property="month"><html:option value="1"><bean:message key="Log.month.1"/></html:option><html:option value="2"><bean:message key="Log.month.2"/></html:option><html:option value="3"><bean:message key="Log.month.3"/></html:option><html:option value="4"><bean:message key="Log.month.4"/></html:option><html:option value="5"><bean:message key="Log.month.5"/></html:option><html:option value="6"><bean:message key="Log.month.6"/></html:option><html:option value="7"><bean:message key="Log.month.7"/></html:option><html:option value="8"><bean:message key="Log.month.8"/></html:option><html:option value="9"><bean:message key="Log.month.9"/></html:option><html:option value="10"><bean:message key="Log.month.10"/></html:option><html:option value="11"><bean:message key="Log.month.11"/></html:option><html:option value="12"><bean:message key="Log.month.12"/></html:option></html:select></font></td>
</tr>    </c:when>    <c:otherwise>    <html:hidden property="year"/>    <tr>
<td width="5%"></td><td width="19%"><font color="#022077" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><bean:message key="Log.year"/></b></font></td><td width="76%"><font size="2" face="Tahoma"><bean:write name="logForm" property="year"/></font></td>
</tr>    <html:hidden property="month"/>    <tr>
<td width="5%"></td><td width="19%"><font color="#022077" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><bean:message key="Log.month"/></b></font></td><td width="76%"><font size="2" face="Tahoma"><bean:write name="logForm" property="month"/></font></td>
</tr>    </c:otherwise></c:choose>    <tr>
<td width="5%"></td><td width="19%"><font color="#022077" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><bean:message key="Log.byteIn"/></b></font></td><td width="76%"><font size="2" face="Tahoma"><html:text property="byteIn" size="16"/></font></td>
</tr>    <tr>
<td width="5%"></td><td width="19%"><font color="#022077" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><bean:message key="Log.byteOut"/></b></font></td><td width="76%"><font size="2" face="Tahoma"><html:text property="byteOut" size="16"/></font></td>
</tr>    <tr>
<td width="5%"></td><td width="19%"><font color="#022077" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><bean:message key="Log.capacity"/></b></font></td><td width="76%"><font size="2" face="Tahoma"><html:text property="capacity" size="16"/></font></td>
</tr>    <tr>
<td width="5%"></td><td width="19%"><font color="#022077" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><bean:message key="Log.charge"/></b></font></td><td width="76%"><font size="2" face="Tahoma"><html:text property="charge" size="16"/></font></td>
</tr>    <tr bgcolor="#FFFFFF">
<td width="5%"></td><td width="19%"></td><td width="76%">                    <logic:messagesPresent>                <bean:message key="errors.header"/>                <ul>                  <html:messages id="error">                    <li>                      <bean:write name="error"/>                    </li>                  </html:messages>                </ul>                <hr/>              </logic:messagesPresent>          </td>
</tr>  </table>
</td>
</tr>  <tr>
<td>
<table bgcolor="#f2f2f2" height="30" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr align="right" valign="middle">
<td>          <html:submit>        <bean:message key="label.save"/>      </html:submit>      <html:cancel>        <bean:message key="label.cancel"/>      </html:cancel>      </td>
</tr>
</table>
</td>
</tr>  </table>
</td>
</tr>
</table></html:form>

⌨️ 快捷键说明

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