Cannot resolve symbol : request.setAttribute(..

Hi, I have jdk ver 1,4,2 installed and I am trying to build my application using ant script but get the error: D:\test\action\ReportAction.java:66: cannot resolve symbol symbol : method setAttribute (java.lang.String,java.lang.String) [javac] location: interface javax.servlet.http.HttpServletRequest [javac] request.setAttribute("ACCOUNT_ID", accountId); where accountId is a String in the code. I also have servlet.jar and j2ee.jar set in my classpath and jdk's bin in the path in windows. Could somebody resolve my issue?