users@glassfish.java.net

Re: Help with docroot

From: Ryan de Laplante <ryan_at_ijws.com>
Date: Tue, 18 Sep 2007 14:21:09 -0400

For now I've decided to create a servlet that can load the image from
anywhere on hard drive (path configured in config file) and output it.
This seems to work well.


Thanks,
Ryan


Ryan de Laplante wrote:
> Hi,
>
> I have an application that runs int he root / context. It works well.
> This application needs to display logo for dynamically configured
> records. I was hoping that I could add an /images/ folder to the
> domain's docroot and add/remove logo files as records are managed.
> However, since there is a project deployed to the root / context, I
> cannot access the /images/ folder in docroot. If I change my app to
> not run int he root context, I can then access the image files.
>
> Is it possible to somehow have the app running in the root context,
> and the docroot working at the same time?
>
>
> Thanks,
> Ryan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>