TitleGet Wiki Instance by ServletContext
Date23-Jan-2005 17:01:53 EET
JSPWiki version
Submitter202.142.101.75
Idea CategoryGenericIdea
Reference
StatusClosedIdea

How about a WikiEngine.getInstance(ServletContext) method?. While integrating JSPWiki into a Struts application, there were couple of places where I had access only to the request object and there is no way to get to the ServletConfig from Request. However, ServletContext can be accessed via HttpSession which in turn can be accessed via HttpServletRequest.


This was a clear oversight... Implemented in 2.1.142. Thanks!

--JanneJalkanen

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-4) was last changed on 02-Jun-2005 16:28 by 158.228.228.108