What is the Difference Between System.out & System.err output in a Servlet
System.out goes to ‘client side’ and is seen in browser, while System.err goes to ‘server side’ and is visible in error logs and/or on console. In Java, including Advanced Java, System.out and System.err are both instances of PrintStream that represent standard output and standard error streams, respectively. In the context of a Servlet: System.out (Standard … Read more