println in grails gsp file -


i know simple thing, not aware.

i used println in gsp file , expected print output in console. showing on page.

<%  for(int =0; < threads.size();i++) {      println }  %> 

thanks.

you can use

<%    system.out.println  %> 

but why use sniplets in gsp page?

if want console debug output gsp suggest using plugin: https://grails.org/plugin/debug


Comments

Popular posts from this blog

php - How to build a web site which gives a sub-domain dynamically to every registered user? -

Delphi Wmi Query on a Remote Machine -