Directory « MVC « Spring Q&A





1. Getting a Web Accessible Directory in Spring-MVC/Java    stackoverflow.com

Simple problem, I need to write a sitemap to my web root directory so that it is accessible as so: http://mysite.com/sitemap.xml I want the code to look like:

File f = new ...