0

I have made a GUI with eclipse where i have used mysql as databasemanagment and tomcat as a server. I have some folder containig images that i need to link with my GUI. How should I do it

rav
  • 1
  • What does it mean to link a folder with images to the GUI? You want to have those images available in your web app? – Dave Newton May 06 '17 at 12:12
  • Yes . Basically My GUI is a bioinformatic web application. So i have set of experiments that i store in the database. With them some images should also be stored so that i can view them. Its like uploading a whole directory of images and viewing them. How should i do it? – rav May 06 '17 at 12:22
  • Reference an external file system/directory, or copy them into your project, or store them in the DB. I recommend the first. – Dave Newton May 06 '17 at 12:24
  • To store them in the DB i need to give commands in DB and also in my GUI i need to write codes to connect with DB. May i know the codes? – rav May 06 '17 at 12:43
  • You already interact with the DB, and how to store images in a DB is well-documented. But likely not recommended: file systems are a better place to store... files. – Dave Newton May 06 '17 at 13:01

1 Answers1

0

Take a look at this, this, this and this posts. All of them show how to list files from a directory using JSP (that will be deployed into tomcat).

Seems that you are a beginner. So, take a look into this and this tutorials related to jsp/tomcat.

Community
  • 1
  • 1
Bob Rivers
  • 5,261
  • 6
  • 47
  • 59