0

我正在使用在 Websphere Application Server 7 上部署的代码,该代码引发 ServletException,如下所示:

if (BaseConvertors.isEmpty(email)) {
    throw new ServletException("Invalid url access - not authenticated.");
}

email是一个String

当我在 Eclipse 中调试 servlet 时,我看到控制台中打印出堆栈跟踪。但是SystemOut.log文件中没有异常的迹象。此代码位于doGet引发异常本身的方法内。

protected void doGet(HttpServletRequest request,
        HttpServletResponse response) throws ServletException, IOException {}

如何获取要登录的异常SystemOut.log文件?

4

1 回答 1

0

错误被记录到 SystemError.log ... duh !

于 2011-12-17T00:47:37.410 回答