i just finished solving another simple task.
there are three projects inside the application. Front_End, Pricing_Admin_Engine, and Help_Context.
the root of this project is CFC_Static_Content, and the required resource is at CFC_Static_Content\cfc_static\help\db\enUS\content\cfc.xml
once deployed as it is, the url would be
CFC_Static_Content/cfc_static/help/db/enUS/content/cfc.xml, while required is /help/db/enUS/content/cfc.xml.
for some, this is a very simple problem, and the solution is also very simple, just add a META-INF folder, to contain new created application.xml, inside which specifiy as
<?xml version="1.0" encoding="UTF-8"?> <application id="CFC" version="5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"> <display-name>CFC Static Content</display-name> <module id="WebModule_CFC_Help"> <web> <web-uri>cfc_static/help</web-uri> <context-root>/help</context-root> </web> </module> </application>