データベースからパス内の Web アプリケーションのフォルダーに写真をコピーしています/WebContent/images/temp/nn.png
私のディレクトリ構造は
friendit/
WebContent/
images/
temp/
nn.png
私のWebアプリケーションのコントローラーアクションクラスからフォルダーfriendit/webcontent/temp/nn.pngに画像を保存していますが、fileNotFound例外が発生します
相対パスに問題があります! どの相対パスを使用すればよいか教えてください