I need to get real path for file in my WebContent directory, so that framework that I use can access …