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

<jsp:expression>

 
amarkirt saroay
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which one is the correct representaion of expression in JSP document?

<%=var.next()%>

<jsp:expression> %= var.next()% <jsp:expression>

or
<jsp:expression> var.next() <jsp:expression>
 
geet rahane
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..

<%=var.next()%> is a Normal jsp page syntax...
and
<jsp:expression>
var.next()
</jsp:expression> is jsp document syntax for expression..
 
Tripati Sahu
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Greet,

you mean to say both will produce same output but one with normal expression and another with jsp document format expression.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic