1) Store them to your relational database,
2) Add oscache to your web application.
3) Change your web.xml so that it contains the following filters.
CacheFilter
com.opensymphony.oscache.web.filter.CacheFilter
CacheFilter
/customer/displayIm
rrows <[EMAIL PROTECTED]> wrote:
-Original Message-
From: Brady Hegberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 10:40 AM
To: Struts Users Mailing List
Subject: RE: Where to store and how to retrieve Images for web app
Does anyone know if there are advanta
> To: Struts Users Mailing List
> > Subject: RE: Where to store and how to retrieve Images for web app
> >
>
>
> >
> > Does anyone know if there are advantages in particular app-servers
> to
> > keeping your graphics on the filesystem versus in the da
> -Original Message-
> From: Brady Hegberg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 01, 2004 10:40 AM
> To: Struts Users Mailing List
> Subject: RE: Where to store and how to retrieve Images for web app
>
>
> Does anyone know if there are adva
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Subject: Where to store and how to retrieve Images for web app
> Date: Wed, 1 Dec 2004 09:23:05 -0500
>
>
>
>
>
> My web app will
I have faced this situation on a number of ocassions. Speaking as someone who
has done it just about every which way, I offer this "best practice"...
I suggest storing them on the file system OUTSIDE the webapp directory. I then
suggest creating an action specifically for returning images. Al
It would be easy to store them in a subdirectory of the web app, which
would allow me to include them in my JSPs with a simple HREF tag. However,
does this cause problems with the size of the web app, maybe the start-up
and reload speeds of the container, etc.? I trialed this by storing 1500
imag
John,
I typically store the images in a web-accessible directory. I have
done this in several different webapps (in several languages for that
matter). I typically have a table that holds any data about the image,
most importantly, how to contruct a url for an image tag so I can
display it o
"Mark Benussi" writes:
> As a second point I would be interested to know if anyone has any code
> snippets to persist (Create and Read) the data to MySQl.
In the application we use at my company, we put images in a
postgres database and we have a servlet which can reply with
image content when g
uot;Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Where to store and how to retrieve Images for web app
Date: Wed, 1 Dec 2004 09:23:05 -0500
My web app will have about 300 users, each of whom will be allowe
My web app will have about 300 users, each of whom will be allowed to
upload a max of 5 images/digital pictures. I am using the Struts-upload
package. I considered storing the images in MySQL as blobs, but have read
lots of advice that this is more trouble than it's worth / overkill.
However,
11 matches
Mail list logo