I have declared some taglibs and variables
in my jsp
page as below:
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="site" scope="session" value="${site}"/>
<c:set var="thumb" scope="session" value="${thumbnail}"/>
<c:set var="geoCode" scope="session" value="${geoCode}"/>
...
<fmt:setLocale value="${local}" />
<fmt:setBundle basename="MessagesBundle" />
<!DOCTYPE html>
<head>
<meta charset="utf-8">
...
when I run the app and then view the source I see blank new lines on top of the source page:
.
<!DOCTYPE html>
<head>
<meta charset="utf-8">
I just placed a dot
to demonstrate the empty lines.
Any idea on how I can remove these empty lines?