posted 7 years ago
I too had trouble using j2ee.jar from the Oracle/Sun Java EE SDK (see also http://www.coderanch.com/t/472932/Cattle-Drive/Servlet-compile-fails-Mac-Osx). When I looked inside I saw it only seemed to contain a manifest file. It turns out it's javaee.jar (also part of the Java EE SDK) that contains the good stuff, HttpServletRequest, etc. Alternately, as pointed out in the other thread, orion.jar also has what is needed.