I'm developing a web-app to deploying to Heroku. However, even if I start the application by Tomcat, my BufferedReader can't find it, because the current directory is /home/vladyour/Programs/apache-tomcat-9.0.0.M19/bin
.
Where should I store files for my web-app? And how to address to them?
Thank you!
you can add your war file or upacked files under /home/vladyour/Programs/apache-tomcat-9.0.0.M19/webapps
and you can address them by "address-ip":"tomcat-port"/'name-of your-app-at-webapps-dir"
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.