RequestDispatcherServiceImpl.java 文件源码

java
阅读 16 收藏 0 点赞 0 评论 0

项目:portals-pluto 作者:
public PortletRequestDispatcher getNamedDispatcher(ServletContext servletContext, PortletApplicationDefinition app,
                                                   String name)
{
    if (LOG.isDebugEnabled())
    {
        LOG.debug("Named PortletRequestDispatcher requested for name: "+name+" at context: "+app.getContextPath());
    }

    RequestDispatcher dispatcher = servletContext.getNamedDispatcher(name);
    if (dispatcher != null)
    {
        return new PortletRequestDispatcherImpl(dispatcher, name, true);
    }
    if (LOG.isInfoEnabled())
    {
        LOG.info("No matching request dispatcher found for name: "+ name);
    }
    return null;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号