Hi,

> This is a simple CRUD page, but the entity has an image property.
> I  retrieve
> the View Object from the RDBMS and populate the ActionForm from it.
>
> I think that the image should not be stored in the VO. Am I right?

What does CRUD mean? What does VO mean?

> Where should I store the image if I have to display it on the
> page? I cannot
> store in request, as the browser creates a new request for each
> img on the
> page afaik. I'm not keen on storing it in the session since I
> prefer to store
> small amount of data in session scope.

Maybe in a temp directory within your webapp?

> What is the best practice implementing this? Or the suggested
> one? Or at least
> the least painful one?

My suggestion: Don't store images in a database if you can avoid it. In most
cases it's messy, slow, and really bad practice.

Best regards
Kristian


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

Reply via email to