Fixed new lesson instructions location to match new file structure

git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@416 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
mayhew64@gmail.com 2009-11-11 18:45:30 +00:00
parent c3908e8700
commit 7e200c921d
3 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ public abstract class LessonAdapter extends AbstractLesson
+ "If you would prefer, send your lesson ideas to " + "If you would prefer, send your lesson ideas to "
+ getWebgoatContext().getFeedbackAddressHTML())); + getWebgoatContext().getFeedbackAddressHTML()));
String fileName = s.getContext().getRealPath("doc/New Lesson Instructions.txt"); String fileName = s.getContext().getRealPath("WEB-INF/classes/New Lesson Instructions.txt");
if (fileName != null) if (fileName != null)
{ {
try try

View File

@ -77,7 +77,7 @@ public class NewLesson extends LessonAdapter
*/ */
public String getTitle() public String getTitle()
{ {
return ("Create a WebGoat Lesson"); return ("How to create a Lesson");
} }
public Element getCredits() public Element getCredits()