Monday, September 8, 2008
Single or double quotes
As a developer we almost need write html code every day.today I want to talk about "quote",especial in GSP page,Grails is an amazing framework,I really like it,Groovy Servers Pages (or GSP for short) is Grails' view technology. It is designed to be familiar for users of technologies such as ASP and JSP, but to be far more flexible and intuitive.To talk about quotes most of time we use double quotes but in some particular situation we should use single quote,for example,as an attribue of gsp taglib,a groovy map is allowed,so in this situation,you should use single quote for map's attribues.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment