I have projects set up as follows
setting up an IDEA module with the java source and java test is not a problem.
I set up a web facet with a web resource directory set to "module/src/web" and the "path relative to deployment root" set as "/".
this works great except for the editing the JSPs... the struts config, tiles config, spring, etc. all recognized the paths just fine with the JSPs in "content1" and "content2".
the problem is editing the JSP. the code references things line "images/xyz.gif" or "styles/default.css" -- IDEA says that the directory "images" and "styles" do not exist -- because it is looking for it to be under "module/src/web/WEB-INF/jsp/content1".
in reality those jsp are rendered at runtime at the root so the references to "images/xyz.gif" etc. work just fine.
How can I configure IDEA/web-facets to recognize this structure and not give me warnings on the relative references? (it won't let me setup multiple embedded roots or any other combination i've tried)