I used Elmer's spray adhesive. I actually sprayed the jars, but in hindsight it would be better to lay the doily on wax paper, spray the doily, then lay the jar onto it and press. Then lift the jar and press the doily in place.
I used tea lights, so there isn't a lot of heat generated from those, so it was not a factor.
Glad I could inspire you to make some!
