| Title | Get Wiki Instance by ServletContext |
| Date | 23-Jan-2005 17:01:53 EET |
| JSPWiki version | |
| Submitter | 202.142.101.75 |
| Idea Category | GenericIdea![]() |
| Reference | |
| Status | ClosedIdea |
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!
