在MyEclipse中遇到HttpServletRequest报红叉的时候,可以这样做 1、右键工程找到build path项 2、找到Add Libraries 3、点击myEclipse Libraries,Next 4、添加JavaEE 5 问题解决。