System.out.println does not print to the browser, it prints to the console. To print the output so that the browser can parse the data, use the JSP variable out (eg out.println('Hello world') )
...