Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ファイルのサーバーパスがあり、サーバー側のコードでそのファイルを削除したいのですが、fileNotFound例外がスローされるため、ファイルのサーバーパスの物理的な対応するパスが必要だと思います。
fileNotFound
http パスでファイルの物理パスを取得するにはどうすればよいですか? ASP.NETでServer.MapPath("../images/myImage.png")- うまくいったでしょうが、私はJAVAです
Server.MapPath("../images/myImage.png")
I have populated the follow list with objects of type AnonymousType
AnonymousType
List<object> someList = new List<object>(); someList.Add(new { foo = 1 });