TODO: fix compilation problems and JSP pages.