I can't place the footer so that it is always at the end of the page. If the page has less content it is not placed at the bottom. The footer has not a fixed heigth. This is my code.
<%
ArrayList<MateriaBean> materieFooter=(ArrayList<MateriaBean>)session.getAttribute("materie");
%>
<div class="container footer-container">
<div style="height: 10px"></div>
<div class="col-xs-12 col-sm-9 col-md-9 center-column">
<div class="col-md-12">
<strong><p>Materie</p></strong>
<hr>
<%
if (materieFooter != null) {
for (int i = 0; i < materieFooter.size(); i++) {
String mat = materieFooter.get(i).getNome();
%>
<ul class="list-unstyled col-xs-4 col-md-3">
<li><%=mat%></li>
</ul>
<%
}
}
%>
</div>
</div>
</div>