Java web operates on the files in the webcontent directory

Java web generates files dynamically if it is in the webcontent directory through sevlet.
for example,
1) need to dynamically create a.txt under webontent
2) write to the a.txt file.
3) read the a.txt file.

Mar.11,2021

servlet, is a program that runs on the server side, so you can access disk files without restrictions, and there is no sandbox like browsers, although you can use java files to manipulate api

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaae8e-47dda.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaae8e-47dda.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?