So I have jsf set up on my server and it has some xhtml files that I can call using:
http://myserver.com/sms/faces/myfile.xhtml
But I also have some files with ".csv" extension, ".js" extension, some image files and some text files with ".txt" extension, and obviously some xhtml files as already mentioned, on the same directory
As I have said the above URL works, but this url does not:
http://myserver.com/sms/faces/csvfile.csv
Again, this works:
http://myserver.com/sms/faces/jsfile.js
So I see that it is able to serve xhtml, js, images but is not able to serve csv or txt files. Is there some configuration that is not letting the JSF to serve these kinds of file.
Just a little background: The reason I need this is because I am trying to load some csv files using jquery's get method but that method is not able to find my csv files. If I change the extension of those files to js or xhtml or html, jquery loads those resources and my programs work fine. But I dont like changing the extension. I would like jsf to serve my csv files as they are.