• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

scriptlet variable in el

 
geet rahane
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we make use of scriptlet variable in el......

ex..

<%
int i = 1;
int j =2;
%>

${i < j}= ???
${1 lt 2}=true
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we make use of scriptlet variable in el.

No, these variables are not visible to EL. EL uses scoped variables instead.
Try to execute your code and see what happens.
 
geet rahane
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks............
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic