eclipse中为了format的代码更加好看,少换行,可以设置java、xml、jsp的代码line width。 . http://blog.csdn.net/hdfyq/article/details/5821038