Forums Register Login

Attaching an Image

+Pie Number of slices to send: Send
Hey,
So I'm having problems attaching an image into a java application. The application is mainly JDBC oriented and connecting to a database, but I would like the image to remain on the local machine but the location should be referenced in the database so that we can pull it up. Each image is associated with a person whose details are to be stored in the database.
Does anyone know how I can do this?
Thanks,
Rohan
+Pie Number of slices to send: Send
You should have mentioned your previous post as it contains a lot of information about your project.
Also, your project sounds a lot like homework. You need to do your own homework, as well as mention the parameters of your assignment. There are lots of solutions that would make sense in the real world but may be constrained in your assignment. Mentioning them ahead of time will save us a lot of time and energy. For example, do you really want to locally cache images? It may be more trouble than it is worth because you have to identify when images have changed or been deleted on the server. Are you certain that storing images in the DB and downloading them will be a performance bottleneck?
You say you are "having problems" caching. Exactly what problems are you having? You need to show you have made some effort at solving your own problems.
There is no greater crime than stealing somebody's best friend. I miss you tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1059 times.
Similar Threads
some java interview Questions
Help Please
james mail server - cant send email to external accounts
No suitable driver Exception for sql server 2000
IBM Exam 157 - Questions and Answers (Sample Exam)
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:18:25.