This is a question about how to access the image and js on the server.

Asked 2 years ago, Updated 2 years ago, 92 views

The server is under development as Apache-Tomcat. Web services under development I often access the image and js on the server from the client page The image is stored in WebContent/upload/image and can be accessed directly through url Is there no problem with the traffic?

I saved the image in the db and took it out when I needed it, but it was for backup, right?

Is there a technique that is used a lot for this?

web apache tomcat

2022-09-22 08:22

1 Answers

DB usually uses a method of storing the path where the image exists, rather than storing the image directly.

It is not recommended to store the image directly in the DB.

I am attaching the same information in the link below.

https://hashcode.co.kr/questions/2830/ Wijiwok-To-Use-Image-Processing-Method

Traffic such as static assets such as images and js can occur sufficiently if the service is successful.

To do this, use CDN.


2022-09-22 08:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.