Purnendu Das wrote:
Joe Ess wrote:
Purnendu Das wrote:
Why are you writing a file on the server? Why is the file's name "C:"??
That is just written.Not using that variable inside try block...........
You are using the path variable - to create a FileOutputStream. The exception you show says that cannot be done:
I have a good idea why this is happening (
Tomcat's security configuration) but I'm asking why you are doing it in the first place.