In spring MVC, Please let me know how can I render a static file using just a URI. I want to map a uri i.e. http://example.com/xyz where XYZ is a URI(without file extention) to a file
I want to achieve something like this below but this is not working.Please help
<mvc:resources mapping="/apple-app-association-file" location="/content/applejson/apple-app-association-file.json" />
and access json by http://example.com/apple-app-association-file