• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Single quotes? Double quotes

 
amarkirt saroay
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Can anyone please tell me what is correct to use in some tags : we use single quotes and in some its double?

<cut value='${user}' default='guest' /> //single quotes

<c:forEach var="movie" items="${movieList}"> //double quotes?
Is it optional or do we need to memorize the way they are in the book HFJS
 
Chinmaya Chowdary
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Amarkirt. Single or double quotes, both will work.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic