It's important to distinguish between a webapp
URL and a webapp
resource.
A URL is how an external client accessed webapp functionality.
Webapp resources are the files that are used as inputs to resolve URL requests. People confuse them with URLs, because the syntax of a URL path (
https://coderanch.com/user/list") and the syntax of a resource path ("/user/list") look a lot alike. But they are
very different things.
When a URL request comes into a webapp, the server checks the URL
pattern lists defined in the /WEB-INF/web.xml resource for a match. It it finds one, it matches it to the corresponding
servlet and sends the request to that servlet. If no URL match is made, the URL is translated to a resource pathname (the protocol, servername and context parts are removed from the URL, as is the query
string and/or anchor path). The WAR is then examined for a resource at this path, first as a
JSP, then as a plain resource (such as a stylesheet, image, or javascript). If it's a plain resource, the contents of that resource are copied out to the Http Response stream.
So, if you want to return "ErrorSet/error_list.xml", to a client, you'd code a URL something like this:
http://myserver.com:8080/mywebapp/ErrorSet/error_list.xml".
On the other hand, if you have a servlet that wants to read and use the error_list.xml file internally, you'd access it via a getResource() or getResourceAsStream("/ErrorSet/error_list.xml") method call. The getResourceAsStream method is especially useful, since it returns an InputStream all ready for reading. The location of that resource relative to the WAR root is therefore "/ErrorSet/error_list.xml".
Note that I18N message bundles and similar constructs based on the
java system Properties class actually expect to find their values in property files located in the WAR classpath. That is, under /WEB-INF/classes.
As to how these various resources get moved from whatever editing locations they are in to the actual WAR, that's the IDE's decision, as is the location of the editing location itself. The IDE forum is a better place to ask that question.