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

📄 bookmgr.jsp

📁 《精通SOA:基于服务总线的Struts+EJB+Web Service整合应用开发》原书的实例代码
💻 JSP
字号:
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ page language="java" contentType="text/html; charset=utf-8" %> 
<html:html locale = "true"> 

<head><title>BookMgr.jsp</title>
</head>
<body>

<%@ include file="/bkstore/Top.jsp"%>

<logic:messagesPresent>
   <bean:message key="errors.header"/>
   <ul>
   <html:messages id="error">
      <li><bean:write name="error"/></li>
   </html:messages>
   </ul><hr />
</logic:messagesPresent>

<B><bean:message key="toplink.bookMgr.displayName"/></B>
<html:form action="bookMgr-submit">

<table >
		<TBODY style="font-size: 13px;" leftMargin=10 topMargin=0 marginheight="0" 
marginwidth="0">
  <tr>
    <th align="left">
      <bean:message key="bookMgrForm.bookName.displayname"/>
    </th>
    <td align="left">
      <html:text name="bookMgrForm" property="bookName" size="30" maxlength="30"/>
    </td>
  </tr>
  <tr>
    <th align="left">
      <bean:message key="bookMgrForm.author.displayname"/>
    </th>
    <td align="left">
      <html:text name="bookMgrForm" property="author" size="30" maxlength="30"/>
    </td>
  </tr>
  <tr>
    <th align="left">
      <bean:message key="bookMgrForm.unitPrice.displayname"/>
    </th>
    <td align="left">
      <html:text name="bookMgrForm" property="unitPrice" size="30" maxlength="30"/>
    </td>
  </tr>  
  <tr>
    <th align="left">
      <bean:message key="bookMgrForm.discount.displayname"/>
    </th>
    <td align="left">
      <html:text name="bookMgrForm" property="discount" size="30" maxlength="30"/>
    </td>
  </tr>  
  
  <tr>
    <th align="left">
      <bean:message key="bookMgrForm.isbn.displayname"/>
    </th>
    <td align="left">
      <html:text name="bookMgrForm" property="isbn" size="30" maxlength="30"/>
    </td>
  </tr>
  
  <tr>
    <th align="left">
      <bean:message key="bookMgrForm.press.displayname"/>
    </th>
    <td align="left">
      <html:text name="bookMgrForm" property="press" size="30" maxlength="30"/>
    </td>
  </tr>  
  
  
  <tr>
    <th align="left">
      <bean:message key="bookMgrForm.publishingDate.displayname"/>
    </th>
    <td align="left">
      <html:text name="bookMgrForm" property="publishingDate" size="30" maxlength="30"/>
    </td>
  </tr> 
  
  <tr>
    <th align="left">
      <bean:message key="bookMgrForm.bookContent.displayname"/>
    </th>
    <td align="left">
      <html:textarea name="bookMgrForm" property="bookContent" cols="60" rows="5"/>
    </td>
  </tr>   


  <tr>
    <td>
      <html:submit property="submit">
         <bean:message key="button.save"/>
      </html:submit>
      &nbsp;
      <html:reset>
         <bean:message key="button.reset"/>
      </html:reset>
      &nbsp;
      <html:cancel>
         <bean:message key="button.cancel"/>
      </html:cancel>    
    </td>
  </tr>
  </tbody>
</table>

</html:form>

<%@ include file="Bottom.jsp" %>
</html:html>

⌨️ 快捷键说明

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