public ActionResult UserLogin() { var UserName = Request["username"]; var Password = Request["password"]; if (UserName =="admin") { if (Password=="admin") { return Content("ok:登录成功!!!"); } else { return Co
Spring MVC与表单日期提交的问题 spring mvc 本身并不提供日期类型的解析器,需要手工绑定, 否则会出现非法参数异常. org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [java.util.Date]: Constructor threw exception; nested exception is java.lang.IllegalArgumentExc