While i output text into a jsp the spaces between text is collapsed to a single space.

i used <pre> tag to avoid this.

Is there any jstl or struts tag lib that does the same function??