1) trimDirectiveWhitespaces
<%@page trimDirectiveWhitespaces="true"%>
2) Use
--%><%--tags to start and end scriplets tag and in between html tag
3) Create your own tag library and using html parser remove white spaces during run time. for that check http://www.cqblueprints.com/tipsandtricks/jsp-custom-tag-lib.html
4) Use Google Page Speed Module at apache.
No comments:
Post a Comment