1 Reply Latest reply on Dec 3, 2010 1:10 PM by Udo

    Where to put own JavaScript and CSS-Stylesheets in GlassFish ?

    Markus Kuehn
      Hi out there,

      we have some applications which are using external JavaScript libraries, CSS-Stylesheets and Images.
      On OHS we had a directory for those files which we aliases in dads.conf.

      Where do we have to put this directory when switching to GlassFish and Apex Listener ?

      Regards and thanks

      Markus
        • 1. Re: Where to put own JavaScript and CSS-Stylesheets in GlassFish ?
          Udo
          Hi Markus,

          if you use the "regular" GlassFish, this shouldn't be a big issue. Just create a subdirectory in the GlassFish's docroot-directory for each alias you have now and copy the corresponding content into that directory. See "Copy Oracle Application Express Images" in the Listener documentation - the handling for other static content is similar to the handling for images.

          If you plan to test this with the Embedded Web Container (embedded GlassFish), this will not work that way, because you only have the fixed contexts for images, apex and the listener-internal functions.

          -Udo