}
@Override
public int doEndTag() throws JspException {
ArrayList<Airport> airportList= (ArrayList<Airport>) DAOFactory.getDAOFactory(1).getAirportDAO().airportList(airportCount);
Collections.sort(airportList, new AirportNameAsc());
for (Airport airport: airportList) {
try {
pageContext.setAttribute("singleAirport", airport, PageContext.REQUEST_SCOPE);
pageContext.include("../Templates/Airport.jsp");
} catch (ServletException | IOException e) {