Archetype Created Web Application
struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
struts2
/*
/ok.jsp
/error.jsp
public String execute() throws Exception{
if(username.startsWith("zzq")&&password.length()>=4){
return "ok";
}else{
return "error";
}
空指针提示if()里面有错误