how to ouput text to java console from servlet

Posted by mithun1538 on Stack Overflow See other posts from Stack Overflow or by mithun1538
Published on 2010-03-20T20:08:05Z Indexed on 2010/03/20 20:11 UTC
Read the original article Hit count: 270

Filed under:
|

I have a servlet. But it is not working as desired. Hence for debugging purposes, I want to print statements to the java console(the one that can be opened using the java icon in taskbar). However, if I use System.out.println("message"), it doesnt display in java console.

Is there any alternative way where I can display messages to the console from the servlet? Or can anyone suggest me an alternative way to display messages to any other console?

© Stack Overflow or respective owner

Related posts about servlets

Related posts about jconsole