Juliana diamonds design and JSP logic