Modified the "leaveToolSession" and related code to allow the tool to pass the userid (which it gets from UserDTO in the shared session) rather than pass User (which the tool doesn't have).Rejigged the tool jars loaded on the classpath so suit the most "completed" tools.
Fixed problem where the learner interface didn't start the first time the learner joined the lesson. This was due to the activity in the request being a proxy activity rather than a real activity. Fixed it by having some common code that puts it in the activity, and get Hibernate to load a "real" activity before putting it in the request.
Updated web.xml to include the context files for all the "current" deployed tools.Added matching tool jars to classpath.Stopped deploying the classes to WEB-INF/classesImplemented more calls on the dummy monitoring page to access the learner pages.
Added copyright statement to top of file.Instead of using getUserData method from learningWebUtil, it gets the userdto from the shared sessiononce the portfolio is zipped up, it will return the relative file location to the exportWaitingPage.jsp
quite a few changes made this time around. the exportPortfolioFor* takes in IDs as parameter. Otherwise lazy initialisatione xception happens.removed some methods that are now not used.
changed exportservlet, so that it called export service directly, (doesnt use the httpUrlConnection)Created another method exportPortfolioForTeacher which takes in a lessonID as a parameter instead of Lesson object, as that triggers the lazy initialization exception
added some new methods, exportToolPortfolio which connects the tools export url via httpUrlConnection. Currently having problems getting this to work. may be due to the security stuff (it works on the older versions before the security changes and hibernate 3 changes) Will fix this!