Solution of a long input text problem in Revel framework