TitleRemove WikiEngine from session
Date14-Jun-2005 19:18:12 EEST
JSPWiki version2.2
Idea CategoryJSPWikiVersionThreeIdea
Idea StatusNewIdea

The WikiEngine object is put in the session using pageContext.setAttribute(). However, since the engine object is a singleton for each context anyway, it's probably faster and a lot cleaner to simply call WikiEngine.getInstance() anyway. This removes one dependency from the session object and cleans the JSP pages considerably.

The only case where this might not be faster is if you are running a very large number of Wikis... Hmm.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 14-Jun-2005 19:18 by Administrator