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

📄 viewbook.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 contentType="text/html;charset=gb2312" %> 

<html:html>
<head><title>BookMgr.jsp</title>
</head>


<%@ 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>

<html:form action="viewBook">

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


  <tr>
    <td colspan=2>
       <html:submit property="submit">
         <bean:message key="addshoppingcart"/>
      </html:submit>
    </td>
  </tr>
  </tbody>
</table>

</html:form>

</body>
</html:html>

⌨️ 快捷键说明

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