Hello I have a webapp that uses the code below to write scratch files. It works prefectly when executed from local host. It creates and reads files from the servlet/webapp specific directory.
The problem is when I deploy to a production server with a domain and modjk the same code fails to create the file and obviously fails to read it. I want to use the default in production and can fathom why not. I have asked around and been able to advance it to this litmus test. Local code works and creates, domain based deployment, doesn't. Can someone help me understand why and how to fix it? tia
You've posted quite a few times already, so I would have expected you'd be aware of our naming policy. You can read the policy at this link. In particular, the name you display must be a first and last name (not just initials), and must not be obviously fictitious. Please change the Publicly Displayed Name in your user profile so that it meets the guidelines.
This may seem trivial to you, but it's an important part of the culture at JavaRanch, and we do appreciate your compliance with it.