java编译出错,不知道是缺少什么,请各位帮忙

定义了booklist
Vector   booklist=new   Vector();
1) /*   移除session中已有booklist变量   */
if(session.getAttribute( "boolist ")!=null){
session.removeAttribute( "boolist ");
}
2) /*   将booklist写入session并转到index.jsp   */
session.setAttribute( "booklist ",   booklist);
response.sendRedirect( "/bookshop/index.jsp ");
}
显示:cannot   find   Symbol   methot   getAttribute(java.lang.String)

            cannot   find   Symbol   methot   setAttribute     (java.lang.String,java.util.Vector)

可在编译的时候,总是有错。我用的是Jcreator