posted 9 years ago
I don't think it's created twice. NetBeans' project view has some tree nodes that display source folders of your project, with nodes for each file and subfolder. Depending on the type of the project, it may also have other tree nodes that represent important properties of that project. One of those nodes is often "configuration files" or "important files". While the two web.xml nodes are distinct, they still represent the same file. You can think of the web.xml node under "configuration" as a shortcut, so you don't have to browse through the source subfolders.