Tim Holloway wrote:You didn't say what you are trying to execute when you get the error.
Rob Spoor wrote:Security through obscurity is no security at all. You need to properly shield the JSON file, and can't expect it to be safe just because nobody knows how to find it.
Dave Tolls wrote:But this is a webapp.
As soon as you have two people hitting the server at the same time you will hit issues (which is what I was eventually going to bring up).
Junilu Lacar wrote:Do you anticipate having more than one concurrent user for this? Because if you do, then you're in for a world of hurt by writing your ProductIO class like that. You have mutable static fields and that's generally not a good idea, especially in a web application.