In Eclipse Java EE servlet does not output to console

后端 未结 2 1922
Happy的楠姐
Happy的楠姐 2021-01-14 18:03

I have a simple servlet that creates HTML with PrintWriter and writes to console via System.out.prinln() in the same doGet() method.

2条回答
  •  执笔经年
    2021-01-14 18:40

    How to Log out to console: Right click on your glassfish and go to View Log File enter image description here Make sure the console setting is directed at your server.log file: enter image description here

提交回复
热议问题