2024年6月18日发(作者:)
Struts2 Action参数详细说明
1,Action的配置格式基本为:
如:
访问时:
2,method属性,该属性可以把一个类的多个方法映射为多个Action,如:
类文件
public class MethodAction extends ActionSupport
{
public String add()
{
return SUCCESS;
}
public String delete()
{
return SUCCESS;
发布者:admin,转转请注明出处:http://www.yc00.com/web/1718703012a2751961.html
评论列表(0条)