IDEA 11, Mac OS X Lion, JDK 1.6
I was under the impression that once I add javaEEapplication support to my module, using the facet selection, IDEA should automatically download the required files like the servlet-api.jar required to write servlets. This is per the documentation http://www.jetbrains.com/idea/webhelp/enabling-java-ee-application-support.html
This didn't happen, neither on a new project nor after I had a java module and wanted to add this facet. When I created a class that extended HttpServlet, even the code helper (Fix) light bulb didn't give me an option to import the javax.* classes necessary for HttpServlet.
Only after I added my installed tomcat6.0/lib directory to my global library did the code helper (Fix) light bulb gave me the option to add HttpServlet to my imports.
Isn't that what the facet is supposed to do or am I missing something.