When auto-formatting JSP files in Eclipse using Ctrl+Shift+F, it is trying to fit as many tags on a line as possible and then the tag that doesn't fit it will break and place the attributes on the next line.
This is created very messy code, example below.
<div class="type-text"><label for="echo">Project Name: </label> <s:textfield
id="projectName"
name="projectName"
value="Project Name"
>
</s:textfield></div>
Does anyone know how to format JSP files better?