Hi, I'm fairly new to programming. Now Im working with java backend and servlets where I will upload a file and display it on a servlet side.And this is surely a stupid question but I just have to ask. I have uploaded the file and it prints the pathname in the console, but when I go to the location I can not find the file. What am I doing wrong? and how can i set a folder as desired area where the files should be uploaded?
Thanks!!
Html code:
Servlet:
Thanks!!
Html code:
Servlet: