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!
Removed ISOLATION_READ_COMMITTED from the transactions as it is not supported by the JTA transaction manager.We will have to rely on the database settings.
the CustomStrutsExceptionHandler in org.lamsfoundation.lams.util in which is previously used no longer belongs there.The customStrutsExceptionHandler is now located in org.lamsfoundation.lams.learning.util
The customStrutsExceptionHandler was previously referenced from lams_common, however that was moved so i have created a this class inside lams_learning.And changed it so that it will handle all exceptions thrown within lams_learning