I created new web project testweb.
By default default output folder is testweb\build\classes.
Added some jars to build path.
Then selected these jars in "Java EE Module Dependencies" in order to Eclipse put this jars into WEB-INF/lib during deploying on some server.
Then I deployed this web application from Eclipse on server(JBoss).
All is ok - there are jars in WEB-INF/lib directory.
But if I change default output folder from testweb\build\classes to testweb\web\WEB-INF\classes Eclipse stops to deploy external jars to WEB-INF/lib directory.
This directory is empty! Why? What is wrong?