Serve files through Jetty

I want to serve files in a folder. For that I followed this to configure my jetty.xml (bundles/io/

But I was unable to access the folder.
Is this the right file I am changing? Or is there any other better way to accomplish this?

If you are running on Linux you have to make sure that the user that OH is running under is able to read that folder. By default with an apt-get install the user is openhab.

If you put the folder in <openhab home>/webapps (or put a symbolic link there) assuming the OH user has the right permissions to read it, you should be able to serve those files without changing the jetty config.