新手请问vb.netweb程序使用相对路径判断文件是否存在

新手请教vb.netweb程序使用相对路径判断文件是否存在File.Exists(~/1.txt)Application.StartupPath()A

新手请教vb.netweb程序使用相对路径判断文件是否存在
'File.Exists("~/1.txt")
 'Application.StartupPath() App.Path 都不行啊

[解决办法]
File.Exists(Server.MapPaht("~/1.txt"))