The title says it all. I need the getStatus() function on a HttpServletResponse instance. The API says it exists. Netbeans shows that request as an error, saying 'cannot find symbol'. When I disassemble the javaee.jar file, the HttpServletResponse class does not show the getStatus() function nor any of the other get()s I need.
I suppose I somehow have the wrong .jar file, although I do know it's from J2EE 6. If this is the case, where can I get the correct jar file ( and which one ) without downloading the whole J2EE distro?
I've also found the javaee-api-6.0.jar file. Unlike the j2ee.jar file, it does have the functions I need defined. And, like the j2ee.jar, all of it's functions are abstract ... and the answer is coming to me ... since the functions are abstract, they can't run, they only exist to compile against, right? I'm coding this to run in Tomcat, so there's no way to properly test this just sitting in my IDE, is there? It needs to sit in Tomcat and run in Tomcat. So there must be jar file in Tomcat that can run this. Hmmm.
Yes?
Thanks.