你的位置:首页 > 软件开发 > Java > Struts2(五)Action二配置

Struts2(五)Action二配置

发布时间:2015-03-29 12:00:18
一、method参数actionpackage com.pb.web.action;public class HourseAction { public String add(){ System.out.println("执行添加操作!"); ...

Struts2(五)Action二配置

一、method参数

action

package com.pb.web.action;public class HourseAction {    public String add(){    System.out.println("执行添加操作!");    return "success";  }  public String update(){    System.out.println("执行更新操作!");    return "success";  }  public String delete(){    System.out.println("执行删除操作!");    return "success";  }}

原标题:Struts2(五)Action二配置

关键词:Struts

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录