I have been working on developing a web program for the last few months. I recently added one of the last methods to my program and discovered some bad news: the applet can't write files even on the server where it came from. I was advised that I could side-step the issue by building a server-side app to do this task. However, I don't know the first thing about servlets.
Essentially, what the servlet should do is when provided with a filename and a String, it should write the String into the file. I already have the methods for writing the files, I just need to set up the class so that I can actually write the file without getting any errors.
Any advice is greatly appreciated.
There are two methods in software design. One is to make the program so simple, there are obviously no errors. The other is to make it so complicated, there are no obvious errors.