0

I need to insert an imagen into a SQL Server Database and i need to do it using jsp, but i don't know how to do it. Someone can teach me the best way to do that?

2
Contributors
1
Reply
9
Views
1 Month
Discussion Span
Last Post by pty
0

The two methods are to store the image directly in the table as a blob or to store it on disk (or in the cloud) and store the location/path in your table.

I'd favour the latter approach simply because it's simpler, keeps your database size manageable, doesn't require you to serialise and deseriealise every time you need to read or write it.

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.