I\'ve been working with Apache\'s Velocity engine and a custom template.
The thing is, that I haven\'t been able to generate a String with the corresponding line breaks.
I t
Are you using Velocity to generate HTML content? In that case remember that you need to use not a newline.
If you actually want a new line character you just put the actual new line character, i.e. press enter. There is no escape sequences like \n in Velocity.