如何将promoPrice变量作为字符串的一部分打印ONLY $4.67?
<c:set var="promoPrice" value="4.67" />
<p>${(promoPrice != null) ? "ONLY $${promoPrice}" : "FREE"}</p>
Run Code Online (Sandbox Code Playgroud) 在Ubuntu 12.04上,当我运行时grails run-app,在停止应用程序后,终端光标在键入时不移动,并且不显示任何文本.我仍然可以输入命令,但我必须盲目地做或者reset用来重置终端.有没有人见过这种行为?我已经在grails 2.0.1,2.0.4,2.1.2和2.2.1中测试过.所有人都会发生同样的行为.有什么建议?