表单的action为action="login!regist" 感叹号后为方法 同时action类里要添加
public String regist() throws Exception
{
return "register";
}
其他和普通action配置一样。
如果action=后不加感叹号,直接是action名字的话,则默认执行public String execute() throws Exception方法
表单的action为action="login!regist" 感叹号后为方法 同时action类里要添加
public String regist() throws Exception
{
return "register";
}
其他和普通action配置一样。
如果action=后不加感叹号,直接是action名字的话,则默认执行public String execute() throws Exception方法