?? articleaction.java~3~
字號(hào):
package firstspring.struts;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForm;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForward;
import firstspring.vo.articleVO;
public class articleAction extends BaseAction {
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response) {
articleForm f = (articleForm) form;
articleVO vo=new articleVO();
vo.setA_author(f.getA_auhor());
vo.setA_body(f.getA_body());
vo.setA_hit(100);
vo.setA_date(f.getA_date());
vo.setA_sort(0);
vo.setA_title(f.getA_title());
return null;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -