Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

help regarding EL tags  RSS feed

 
Amadeus mozart
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how will i change
<%String abc = (String) session.getAttribute("child");
if(abc !=null){
//do something--<%=abc%>
}
%>

to EL tag..

i need to convert the above lines to EL tag ... I tried
<s:if test = "${sessionScope.child !=null}"> but not working...

Thanks in advance
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Amadeus mozart", please check your private messages for an important administrative matter.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!