Domanda

Sto lavorando con il codice distribuito su WebSphere Application Server 7 che lancia un servletexception come segue:

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

email è un String.

Quando eseguo il debug del servlet in Eclipse, vedo la traccia dello stack stampato nella console. Ma non vi è alcuna indicazione dell'eccezione nel SystemOut.log file. Questo codice è all'interno del doGet Metodo che lancia l'eccezione stessa.

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

Come faccio a ottenere l'eccezione da accedere SystemOut.log file?

Nessuna soluzione corretta

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top