House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / JRun-Talk

Displaying CSS Files

Author:
Big Mad Kev
08/30/2005 01:59 PM

How 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


Search jrun-talk

February 11, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29