• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL evaluation doubt

 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

On page no335 qno 16
answer given is A but i think it should be C

Please clarify as if ELisignored does output displays EL Expression as it is or no output is produced while evalution of EL exppression.


Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Funny. On page 335, I find a photo of an Io Moth. Perhaps we're not looking at the same book?
 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am refering latest HFS 2nd edition for j2ee 1.5
 
Nabila Mohammad
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be nice if you mention the question and give a chance to those who dont have HFSJ to look into your questions.
 
Nabila Mohammad
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's value is not evaluated but the text is not ignored.
So it displays the text like any normal text.
 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<@ page isELignored="true"%>

<%taglib uri=" http://java.sun.com/jsp/jstl/core" prefix ="c" %>
<c:set var =" abc" value = "LMN" />

${abc }


Whats the output?

answer says ${abc }

but i think it should be

No Output(thats another option)
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happened when you tried it?
 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah thanks its right
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic