Folded writing into servlet overlay