InvokerServlet.java 文件源码

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

项目:jerrydog 作者:
/**
 * Initialize this servlet.
 */
public void init() throws ServletException {

    // Ensure that our ContainerServlet properties have been set
    if ((wrapper == null) || (context == null))
        throw new UnavailableException
            (sm.getString("invokerServlet.noWrapper"));

    // Set our properties from the initialization parameters
    String value = null;
    try {
        value = getServletConfig().getInitParameter("debug");
        debug = Integer.parseInt(value);
    } catch (Throwable t) {
        ;
    }
    if (debug >= 1)
        log("init: Associated with Context '" + context.getPath() + "'");

}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号