Hi All, I've set fileServingEnabled="false" in ibm-web-ext.xmi file, so that the static files will be served from webserver. After doing so I'm not able to load the colorPalette.properties file. I'm getting an exception at the following line
<c-rt:import url="colors/${requestScope.colorPalette}.properties" var="colorPropertiesStr" scope="page" />
The exception is
SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: /themes/html/TestTheme/styles.jsp. Exception thrown : javax.servlet.ServletException: /themes/html/TestTheme/colors/default.properties
I tried different options to load the file. Every time I'm getting FileNotFound exception. When I give the absolute path to the file, it's working. I need to give http://host:name/TestTheme/themes/html/TestTheme/colors/default.properties. Then I use a BufferedReader to read from that file. This works. But I know this is not the right way of doing it. Can someone please suggest me an alternative way of loading it?