Help on CGI servlet jetty

Hi! I am new to using Jetty, and I just can’t seen to figure out how to make the cgi servlet work. I have looked online but I really don’t understand. I have not been able to find jetty tutorials specifically for openhab, and the jetty tutorials I have been able to read online have not been much of a help.

I am also very confused as where to save the files(html, python, xml files).

If anyone is willing to help, please please please feel free. I would really appreciate it. Thank you very much!