|
Mailing Lists
|
Home / Groups / JRun-Talk
Displaying CSS FilesHow do I get CSS files to display using the Default JRUN Web Service on a CF J2EE install. If I request the file I get: 404 /mystyle.css java.io.FileNotFoundException: /mystyle.css at jrun.servlet.file.FileServlet.service(FileServlet.java:349) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428 ) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) My JRUN-WEB.XML file is set at as below: <session-config> <persistence-config> <active>false</active> </persistence-config> <replication-config> <active>true</active> <buddy-name>*</buddy-name> </replication-config> </session-config> <virtual-mapping> <resource-path>/</resource-path> <system-path>e:/Work/MyWebsite/wwwroot</system-path> </virtual-mapping> <virtual-mapping> <resource-path>/images</resource-path> <system-path>e:/Work/MyWebsite/wwwroot/images</system-path> </virtual-mapping> <virtual-mapping> <resource-path>/cfide</resource-path> <system-path>e:/jrunservers/MyWebsite/cfusion-ear/cfusion-war/CFIDE</system- path> </virtual-mapping> <context-root>/</context-root> <compile>false</compile> <reload>false</reload> <uri-character-encoding>UTF-8</uri-character-encoding> The CSS is located at: e:/Work/MyWebsite/wwwroot/mystyle.css It seems only CSS don't get picked up all the CFM / CFC's do But I can get to: E:\jrunservers\MyWebsite\cfusion-ear\cfusion-war\CFIDE\administrator\cfstyle s.css And this will display the CSS file. Any Ideas Guys? Cheers |
February 11, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||