Hi everybody.
I started using java for web apps a few months ago and i still have much to learn. I have one simple question to which i found no answer on the internet.

We all know the directory structure of a webapp


Files in the root directory are available via HTTP to the end user. But it would be such a mess to put DOZENS of images and other stuff just in one directory!
Isn't there a way to tell the servlet container to have more public dirs? Besides, many javascript applications (like TinyMCE editor) have their own directory structure and many .js files would end not being in a public folder.

Any suggestions?

Thank you in advance.