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

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -