newton.dave wrote:
>
>
>> "" doesn't work at
>> all.
>
> Stream it from an action/servlet/etc?
>
> Dave
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.
fireapple wrote:
Any way to resolve the security issue? If the user save the portrait in the
hard drive(outside of app), I couldn't find a way to display it using URL.
"" doesn't work at all.
Stream it from an action/servlet/etc?
Dave
---
Security Management wrote:
>
> I have had problems when trying to show a bunch of thumbnails, because you
> have a URL that points to an action in your jsp that causes a database hit
> to pull the image. If I'm trying to show 150 thumbnails, the page takes
> forever to load due to the db conne
Richard Sayre wrote:
>
> I should have also mentioned that there are security issues with
> persisting to the hard drive.
>
> I would recommend saving to the database and loading the images as
> needed. Do not save them to session. I do not think you will have a
> performance problem.
>
> R
I should have also mentioned that there are security issues with
persisting to the hard drive.
I would recommend saving to the database and loading the images as
needed. Do not save them to session. I do not think you will have a
performance problem.
Rich
I have had problems when trying to sho
Sayre [mailto:richardsa...@gmail.com]
Sent: Wednesday, June 10, 2009 12:41 PM
To: Struts Users Mailing List
Subject: Re: Performance issue with large data(such as images)
>Thanks, Rich,
I''m happy to help.
> If I use BLOB, I have to make a lot of change to my code. Therefore, I have
> to pers
I should have also mentioned that there are security issues with
persisting to the hard drive.
I would recommend saving to the database and loading the images as
needed. Do not save them to session. I do not think you will have a
performance problem.
Rich
--
>Thanks, Rich,
I''m happy to help.
> If I use BLOB, I have to make a lot of change to my code. Therefore, I have
> to persist it as String. I used base64 to encode and decode the byte[] into
> String. Because I resize the images to small ones. I use a VARCHAR length
> about 10k~20k to persist the
Hi All,
just as a side note,
300 users is a very small quantity of users.
So i would recomend to check if there is a performance problem at all.
Best greetings,
Paweł Wielgus.
2009/6/9 Jim Collings :
> Can't put em in your database as BLOB's with all the other user info?
>
> On Tue, Jun 9, 2009
Can't put em in your database as BLOB's with all the other user info?
On Tue, Jun 9, 2009 at 4:26 PM, Dave Newton wrote:
> fireapple wrote:
>>
>> If I want to persist images to the hard drive of server. Shall I persist
>> the
>> data inside WAR or outside? Because user can change their portrait, d
fireapple wrote:
If I want to persist images to the hard drive of server. Shall I persist the
data inside WAR or outside? Because user can change their portrait, does it
mean it must be persisted outside WAR?
You can't write stuff into your WAR.
Dave
--
Richard Sayre wrote:
>
> You should persist the images as bytes, in a binary field or something
> similar.
>
>> 1. Because the image is large, it's not efficient to store it in
>> objects(beans).
>
> Well this depends on the Bean. Is the bean stored in session? If yes
> then it will take up
You should persist the images as bytes, in a binary field or something similar.
> 1. Because the image is large, it's not efficient to store it in
> objects(beans).
Well this depends on the Bean. Is the bean stored in session? If yes
then it will take up some memory. If you dont have alot of m
13 matches
Mail list logo