Please help me get relative path in Java web with jsp. I am reading .txt from my project web but where do not know to take this file?
您的问题有点含糊,但可以看看getRealPath
。
检查此相对和绝对路径
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.