rogan.dawes a1d52a73e0 Introduce the GoatHillsFinancial "lesson"
This "lesson" is to be used as a base for the rest of the
LAB lessons. This should help to reduce the amount of
duplication across the lessons.


git-svn-id: http://webgoat.googlecode.com/svn/trunk@150 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:56:00 +00:00

30 lines
948 B
Plaintext
Executable File

<%@ page contentType="text/html; charset=ISO-8859-1" language="java"
import="org.owasp.webgoat.session.*"
errorPage="" %>
<%@page import="org.owasp.webgoat.lessons.GoatHillsFinancial.GoatHillsFinancial;"%>
<style>
<jsp:include page="GoatHillsFinancial.css" />
</style>
<%
WebSession webSession = ((WebSession)session.getAttribute("websession"));
System.out.println("WebSession is " + webSession);
GoatHillsFinancial currentLesson = (GoatHillsFinancial) webSession.getCurrentLesson();
System.out.println("CurrentLesson = " + currentLesson);
%>
<div id="lesson_wrapper">
<div id="lesson_header"></div>
<div class="lesson_workspace">
<%
String subViewPage = currentLesson.getPage(webSession);
System.out.println("SubViewPage is " + subViewPage);
if (subViewPage != null)
{
//System.out.println("Including sub view page: " + subViewPage);
%>
<jsp:include page="<%=subViewPage%>" />
<%
}
%>
</div>
</div>