HttpSession
action to
+ * remove obsolete session values.
+ *
+ * @param session
+ * @param mode ToolAccessMode to decide which role's session will be clear.
+ */
+ abstract public void clearSession(HttpSession session, ToolAccessMode mode);
+
+ private String getLamsUrl(){
+ String serverURL = Configuration.get(ConfigurationKeys.SERVER_URL);
+
+ if ( StringUtils.isBlank(serverURL) ) {
+ log.warn("ServerURLTag unable to write out server URL as it is missing from the configuration file.");
+ }
+
+ return serverURL;
+ }
+
+
+ public ILamsToolService getToolService(){
+ WebApplicationContext webContext = WebApplicationContextUtils.getRequiredWebApplicationContext(this.getServlet().getServletContext());
+ return (ILamsToolService) webContext.getBean(AuthoringConstants.TOOL_SERVICE_BEAN_NAME);
+ }
+}
Index: lams_central/web/WEB-INF/lams.tld
===================================================================
diff -u -r1bf4c860120741c61f40cf9a03fc58e9e29e06eb -r50d68fddcd33b33903cd4c0119f01080b9314b80
--- lams_central/web/WEB-INF/lams.tld (.../lams.tld) (revision 1bf4c860120741c61f40cf9a03fc58e9e29e06eb)
+++ lams_central/web/WEB-INF/lams.tld (.../lams.tld) (revision 50d68fddcd33b33903cd4c0119f01080b9314b80)
@@ -274,5 +274,9 @@
+
+ |
+
+
+ |
+
+
- <%@ include file="/common/messages.jsp" %> - | -
+ <%@ include file="/common/messages.jsp"%> + | +
-