<%
if (currentLesson != null)
{
%>
<%
}
if (webSession.getHint() != null)
{
printHint = "
" + webSession.getHint() + "
";
out.println(printHint);
}
if (webSession.getParams() != null)
{
Iterator i = webSession.getParams().iterator();
while (i.hasNext())
{
Parameter p = (Parameter) i.next();
printParameters = "
" + p.getName() + "=" + p.getValue() + "
";
out.println(printParameters);
}
}
if (webSession.getCookies() != null)
{
Iterator i = webSession.getCookies().iterator();
while (i.hasNext())
{
Cookie c = (Cookie) i.next();
printCookies = "
" + c.getName() + "

" + c.getValue() + "
";
out.println(printCookies);
}
}%>
<%=webSession.getInstructions()%>
<%=webSession.getMessage()%>
<%
if (currentLesson.getTemplatePage(webSession) != null)
{
%>
<%
}
else
{
%>
<%=currentLesson.getContent()%>
<%
}
%>
<% out.println(currentLesson.getCredits());%>