There are two other possible solutions.

1. Have a servlet respond to all calls for an image and read it from an
external directory then stream it back to the client.

2. Store it in a database as a blob. Then stream it back to the client.

I have not done this myself yet. But am planning the database solution next
week.

Doug
www.parsonstechnical.com



----- Original Message ----- 
From: "John B. Moore" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 14, 2004 10:59 PM
Subject: Re: Relative directory addressing to parent directory


> Yeah, that is what seemed to be the case..  I was hoping I was wrong and
> somehow was not configuring something right.. Hence the posting here...
>
>    <sigh>
>
> Julio César Aguilar wrote:
>
> > In my knowledge:
> >
> > For tomcat to be able to serve the images, that images directory hast
> > to live inside a web application (or be a web application by itself).
> >
> > If you choose to do the later, then you could use a path like
> > "/images/myimage.jpg" to display those images.
> >
> > -----------------------------------
> > Julio César Aguilar Cabrera
> > [EMAIL PROTECTED]
> > Proyecto SIGC3, LANIA
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to