use of com.iplanet.jato.view.ViewBean in project OpenAM by OpenRock.
the class ConsoleServletBase method onRequestHandlerNotSpecified.
/**
* Forwards to invalid URL view bean, in case of no handler specified
*
* @param requestContext - request context
* @throws ServletException
*/
protected void onRequestHandlerNotSpecified(RequestContext requestContext) throws ServletException {
ViewBeanManager viewBeanManager = requestContext.getViewBeanManager();
ViewBean targetView = viewBeanManager.getViewBean(AMInvalidURLViewBean.class);
targetView.forwardTo(requestContext);
throw new CompleteRequestException();
}
Aggregations