
Return the current ModuleConfig object stored in request, if it exists,
null otherwise. This method can be used by plugin to retrieve the
current module config object. If no moduleConfig is found, this means
that the request haven't hit the server throught the struts servlet.
The appropriate module config can be set and found with
ModuleUtils.selectModule(HttpServletRequest, ServletContext)
.
Returns:
the ModuleConfig object from request, or null if none is set in
the request.
Parameters:
-
request - The servlet request we are processing