2 Replies Latest reply on Jul 17, 2007 12:35 AM by Peter Johnson

    serving content from outside the context

    divya thakur Newbie

      I am using jboss4.0.5
      I have a simple web app and want to serve up some images and html content, in the jsp pages, but the images and html content, is outside the context

      The HTTP statement in jsp looks like




      <c:import url="d:/webcontent/htmls">



      I have read a lot about jboss and figure there must be a way to
      configure server.xml and/or web.xml to allow this to work, but cannot
      see it ?

      If i set the path d:/webcontent/htmls as the context path, i will have to expose part of my hard drive and thus the html will be exposed. I dont want to do this.

      Please suggest?

      Regards,