Java: how to write to folder in webapp?

Can't believe I forgot that one. Just tried System. GetProperty("user.

Dir") and that also seems to work. Any reason to use one over the other? – jack Jan 6 at 12:37 prefer the API - getRealPath.

I'm not sure if the other is guaranteed to work always. – Bozho Jan 6 at 12:38 1 Note that the folder and all its contents will get lost whenever you redeploy the webapp. It's not a good choice if you want to make it permanent.

See also this related question stackoverflow. Com/questions/4548190/… – BalusC Jan 6 at 16:13.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions