JSP representation. Calculating points