Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

single quotation mark for scripting expression

 
shan xiao
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On page 471 of HFS, it says:
scripting expressions:
<mine: advice user='<%= request.getAttribute("username") %>' / >
while i found on page 357,
<jsp: setProperty name="person" property="name" value="<%= request.getParameter("username") %>" />
that it uses double quotation mark. why is that?
 
Jose Esteban
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To set attribute values you can use either single or double quotation marks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic