I am reading murach's book about jsp and servlets.
He uses netbeans(I am using intellij idea) and I am at a point when he uses the META-INF folder that netbeans creates to save a context.xml file there that contains a Resource tag with information about a connection pool.
The problem is that intellij idea projects do not contain such a folder.
What should I do?
Thank you!

ehm..
you could create it?

Is this connected with the META-INF in every executable jar file?

Please read this documentation. (Apache Tomcat).

Summary :

In talking about deployment of web applications, the concept of a Context is required to be understood. A Context is what Tomcat calls a web application.

In order to configure a Context within Tomcat a Context Descriptor is required. A Context Descriptor is simply an XML file that contains Tomcat related configuration for a Context, e.g naming resources or session manager configuration.
.......

I created the folder and file manualy and it worked!