I want to serve static content with a Java Servlet, but is it the best solition? Should I change the static content with file operations or keep files in database server?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Best to to use static files on the webserver document root. Storing and fetching from the database is not recommended for performance reasons if the files are indeed going to be static.