<%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ page import="java.util.Calendar" %> <%@ page import="java.util.ArrayList" %> <%@ page import="DataBeans.InfoLesson" %>

O curso seleccionado é:


<% ArrayList iA = (ArrayList) request.getAttribute("infoAulasDeTurno"); %>

:

<% int i = 0; %> <% Integer iH = new Integer(((InfoLesson) iA.get(i)).getInicio().get(Calendar.HOUR_OF_DAY)); %> <% Integer iM = new Integer(((InfoLesson) iA.get(i)).getInicio().get(Calendar.MINUTE)); %> <% Integer fH = new Integer(((InfoLesson) iA.get(i)).getFim().get(Calendar.HOUR_OF_DAY)); %> <% Integer fM = new Integer(((InfoLesson) iA.get(i)).getFim().get(Calendar.MINUTE)); %> <% i++; %>
<%= iH.toString()%> : <%= iM.toString()%> <%= fH.toString()%> : <%= fM.toString()%> <%= ((InfoLesson) iA.get(i)).getTipo().toString()%>