?? bookqueryform.java
字號:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.ascent.struts.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
/**
* MyEclipse Struts Creation date: 07-12-2006
*
* XDoclet definition:
*
* @struts.form name="bookQueryForm"
*/
public class BookQueryForm extends ActionForm {
/*
* Generated fields
*/
/** bookAuthor property */
private String bookAuthor;
/** bookName property */
private String bookName;
private String select;
/*
* Generated Methods
*/
public String getSelect() {
return select;
}
public void setSelect(String select) {
this.select = select;
}
/**
*
* Method validate
*
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {
// ActionErrors errors =new ActionErrors();
// if(bookName==null||bookName==""){
// errors.add("bookName", new ActionMessage("error.bookName.required"));
// }
return null;
}
/**
* Method reset
*
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
// TODO Auto-generated method stub
}
/**
* Returns the bookAuthor.
*
* @return String
*/
public String getBookAuthor() {
return bookAuthor;
}
/**
* Set the bookAuthor.
*
* @param bookAuthor
* The bookAuthor to set
*/
public void setBookAuthor(String bookAuthor) {
this.bookAuthor = bookAuthor;
}
/**
* Returns the bookName.
*
* @return String
*/
public String getBookName() {
return bookName;
}
/**
* Set the bookName.
*
* @param bookName
* The bookName to set
*/
public void setBookName(String bookName) {
this.bookName = bookName;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -