{
// Scan the current configuration if there is a FacesServlet and if that so,
// retrieve the first prefix mapping and use it.
getWebConfigProvider().update(context);
WebRegistration webRegistration = getWebConfigProvider().getWebRegistration(context);
String prefix = getFacesServletPrefixMapping(context, webRegistration);
if (prefix != null)
{