ExportServlet - this is the servlet that the export service will call...this servlet in turn opens a httpurlconnection to the real export url, and saves the content in a file.
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.
when a learner clicks on finish, it will call learnerService.completeToolSession which returns the link to the next activity. the tool then redirects to this new url
quite a few changes here. removed unused import declarations the learner environment doesnt expect a toolContentId to be passed via url. the tool contentId/toolSessionId relationship is assumed to have been establish when the core made the call to createToolSessions() if no toolSession exist in the table when the learner reaches the activity, the user will see an error screen. if user in this tool session isnt found, thena new entry is created.
changed the copyFormValues..(), the deleteAttachment method now doesnt call this method, otherwise all fields will be blank.instead of using hardcoded default content id, makes the call to getDefaultToolContentId