博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
第六天
阅读量:5277 次
发布时间:2019-06-14

本文共 5006 字,大约阅读时间需要 16 分钟。

第六天

p377
<?xml version="1.0" encoding="UTF-8"?>
<taglib xmlns="http://java.sun.com/xmlns/j2ee"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="thtp://java.sun.com/xml/ns/j2ee http:/java.sun.com/xml/ns/j2ee/web-jsptaglibrary 2 O.xsd" version="2.0">
     <description>BookStep tag</description>
     <display-name>Name </display-name>
     <tlib-version> 1.0</tlib-version>
     <short-name>BName </short-name>
<tag>
<description>通过ID获取图书的等级</description>
 <name>bookStep</name>
<tag-class>tags.GetBookSep</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
      <description>通过ID获取图书的书名</description>
<name>bookName</name>
<tag-class>tags.GetBookame </tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
      <description>通过ID获取图书的出版社</description>
<name>bookcom</name>
<tag-class>tags.GetBookCom</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
      <description>通过ID获取图书信息</description>
<name>bookinfo</name>
<tag-class>tags.GetBooklnfo</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
     <description>通过ID获取用户姓名</description>
<name>userame</name>
<tag-class>tags.GetUserName</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
      <description>通过ID获取用户城市信息</description>
<name>usercity</name>
<tag-class>tags.GetUserCity<tag-class>
<body-content> JSP</body-content>
</tag>
<tag>
      <description>通过ID获取日期</description>
<name>date</name>
<tag-class>tags.DateOptionTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
      <description>通过ID获取用户等级</description>
<name>userstep</name>
<tag-class>tags.GetUserStep<tag-class>
<body-content> JSP</body-content>
</tag>
<tag>
      <description>通过ID获取用户的订单数</description>
<name>userordercount</name>
<tag-class>tags.GetUserOrderCount </tag-class>
<body-content> JSP</body-content>
</tag>
</taglib>
p385
public dass BooklnfActionFom extends ActionForm {
      //bookld 属性
      private String bookld;
      //bookCompany 属性
      private String bookCompany,
      //bookName 属性
      private Slring bookName;
      //bookPenster 属性
      private String bookPenster;
      //bookPrice 属性
      private Slring bookPrice;
      //bookStorage 属性
      private String bookStorage;
      //bookSynopsis 属性
      private Slring bookSynopsis;
      //bookType 属性
      private Slring bookType;
      /**
      * bookCompany 的getter 方法
      *
      * @return
      */
      public String getBookCompary(){
return bookCompany;
}
/**
*bookCompary的selter方法
*
*@param bookCompary
*/
publlc vold setBookCompany(String bookCompany){
this bockCompany=bookCompany;
}
/**
*bookSynopsis的setter方法
*
*@param tokSynopsis
*/
public void setBookSynopsis(String bookSynopsis){
this.bockSynopsis = bookSynopsis;
}
/**
* bookStorage 属性的setter方法
*
* @param bookSlornge
*/
publlic void setBookStorage(String bookStorage){
this.bookStorage = bookSorage;
}
/**
*bookPrice的setter方法
*
* @param bookPnice
*/
public void setBookPrice(String bookPrice){
this.bookPrice = bookPrice;
}
/**
* bookPenster的setter方法
*
*@param bookPenster
*/
public void setBookPenster(String bookPenster){
this.bookPenster = bookPenster;
}
/**
* bookName的setter方法
*
*@param tockName.
*/
public void setBookName(String bookName){
      this.bookName = bookName;
}
/**
*bookld的setter方法.
*
* @param bookld
*/
public void setBookld(Sring bookld){
      this.bookld = bookld;
}
/**
*bookType的setter方法
*
*@param bookType.
*/
pubic void setBookType(Sring bookType){
      this.bookType = bookType;
}
/**
*bookName l?g getler 5#
*
*@return
*/
public String getBookName(){
      return bookName;
}
/**
*bookPenster的getter方法.
*
*@return.
*/
public String getBookPenster(){
      return bookPenster;
}
/**
*bookPrice的getter方法
*
*@return
*/
public String getBookPrice(){
return bookPrice;
}
/**
*bookSxorage的getter方法
*
*@return
*/
public String getBookSlorage(){
return bookSlorage;
}
/**
*bookSynopsis的getter方法
*
*@return
*/
public String getBookSynopsis(){
return bookSynopsis,
}
/**
*bookld的getter方法
*
*@return
*/
public String getBookld(){
relum bookld
}
/**
*bookType的getter方法
*
*@return
*/
public String getBookType(){
return bookType;
}
public ActioErrars validate(ActionMapping actionMapping,
HttpServletRequest httpServeletRequest){
/**@todo: finish this method, this is just the skeleton.*/
return null;
}
public void reset(ActionMapping actionMapping,
HttpServletRequest httpServeletRequest){}
}
p389
 public class LoginActionForm extends ActionForm{
//userName属性
private String userName;
//userPwd属性
private String userPwd;
/**
*serName属性的getter方法
*
*@return.
*/
public String getUserNmae() [
return userNmae;
}
/**
*userName属性的setter方法
*
*@param userNmae.
*/
public void setUserNmaeString userNmae)[
this.userNmae = userNmae;
}
/**
*userPwd属性的setter方法
*
*@param userPwd.
*/
public void setUserPwd(String userPwd){
 this.userPwd = userPwd;
}
/**
*userPwd属性的getter方法
*
*@return
*/
public String getUserPwd(){
retum userPwd;
}
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest){
/** @todo: finish this method, this is just the skeleton. */
return null;
}
public void reset(ActionMapping actionMapping,
HttpServletRequest httpServletRequest){
}
}
昨天:编写代码;
今天:编写代码;
明天:整合代码,调试程序;

转载于:https://www.cnblogs.com/sjztd-slx/p/9992082.html

你可能感兴趣的文章
《深入分析Java Web技术内幕》读书笔记之JVM内存管理
查看>>
python之GIL release (I/O open(file) socket time.sleep)
查看>>
软件开发与模型
查看>>
161017、SQL必备知识点
查看>>
kill新号专题
查看>>
MVC学习系列——Model验证扩展
查看>>
字符串
查看>>
vue2.x directive - 限制input只能输入正整数
查看>>
实现MyLinkedList类深入理解LinkedList
查看>>
自定义返回模型
查看>>
C#.NET 大型通用信息化系统集成快速开发平台 4.1 版本 - 客户端多网络支持
查看>>
HDU 4122
查看>>
Suite3.4.7和Keil u3自带fx2.h、fx2regs.h文件的异同
查看>>
打飞机游戏【来源于Crossin的编程教室 http://chuansong.me/account/crossincode 】
查看>>
[LeetCode] Merge Intervals
查看>>
【翻译自mos文章】当点击完 finishbutton后,dbca 或者dbua hang住
查看>>
Linux编程简介——gcc
查看>>
2019年春季学期第四周作业
查看>>
MVC4.0 利用IActionFilter实现简单的后台操作日志功能
查看>>
rotate the clock
查看>>