try {
reqClass = Class.forName(refClassName);
} catch (Exception e) {
}
}
JWebLitePage reqClassInstance = null;
if (reqClass != null && JWebLitePage.class.isAssignableFrom(reqClass)) {
if (_cat.isInfoEnabled()) {
_cat.info(LogUtils.formatDebugLog("DispatchInfo",
"ClientIP=%s, ReqUri=%s, refClassName=%s",
req.getRemoteAddr(), req.getRequestURI(), refClassName));
}
reqClassInstance = (JWebLitePage) reqClass.newInstance();
req.setAttribute(attrPrefix, reqClassInstance);
reqClassInstance.doRequest(context, formModel);
}
return reqClassInstance;
}