在尝试给webapi增加 ExceptionFilter时,出现了错误,经查询区别如下: System.Web.Mvc.Filters 是给mvc用的 System.Web.Http.Filters 是给webapi用的. MVC用的Filter在如下代码里增加新的filter: using System.Web; using System.Web.Mvc; namespace API { public class FilterConfig { public static void Regist…
Reffer to the book<java web整合开发王者归来>. It's jsp page. Offer the values of username and password to servlet. Then save the session. The code is simple. easy to read. Except the myLogin.jsp,also need a javabean Person.java. <%@ page language="j…