1 Reply Latest reply on Sep 28, 2007 10:06 PM by Elias Ross

    Defining a URL where files can be retrieved from a context P

    Yogesh Novice

      Hi,
      I am trying to implement a Rich Text Editor (FCK Editor) in my web application which uses JBoss Seam. The Rich Text Editor needs to support File and Image Browsing.

      For this purpose, all files or images needs to be uploaded on a directory which can be accessed via the application server.

      Normally with Tomcat, this directory would be a subdirectory within the project's root directory and could for example be accessed like that

      http://192.168.2.111:8080/demoWeb/subDir/


      I have been using Tomahawk earlier with JBoss and had to store files to a local directory on my server (for example C:/mywebapprepo).


      The files can easily be accessed as long as i am running my web app locally but not from an external user.


      What i need is to create a link to that local store ....


      For example

      http://localhost:8080/mywebapprepo


      should point be to C:/mywebapprepo on my local disk



      Can anyone enlighten me on how to do this ?


      Regards,
      Jankee Yogesh
      M-ITC LTD