<base target="main" /> 在jsp文件当中加入target=“main”默认的打开main框架 来自为知笔记(Wiz) 转载于:https://www.cnblogs.com/babyhhcsy/archive/2013/04/14/3019625.html