wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes <jsp:expression> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "<jsp:expression>" Watch "<jsp:expression>" New topic
Author

<jsp:expression>

amarkirt saroay
Ranch Hand

Joined: Mar 16, 2008
Posts: 167
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>


SCJP-75%
SCWCD-82%
geet rahane
Ranch Hand

Joined: Jul 06, 2009
Posts: 45
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

Joined: Jul 11, 2009
Posts: 25
Hi Greet,

you mean to say both will produce same output but one with normal expression and another with jsp document format expression.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: <jsp:expression>
 
Similar Threads
Struts and how to insert a bean-value into a attribute
XML syntax for jsp
How convert into struts html select clause
Xml equivalents
jsp document