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

I don't understand

 
zheng yue
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry! I am Chinese ,my english is not good !I read HFJS,and I have some questions:
:one
Is this right?and why?<%= out.print('${something}')>,can EL in scriptlets?
:two
I do the final mock exam,but a few questions I don't understand(I respect Author of HFJS,so I don't Paste the whole question)
question 26 I don't understand why d is right?I think bce is right answer。
question 49 on the book answer is c,but I very sure the right answer is D,can you help me?
question 69 on the book answer is d。I think b is right,because to restrict BEGINNERs ,must not take BEGINNERs in tag。
Please help me !!!I will take SCWCD next week 。Thank you foreign friends!!

[Edit: non-English text removed. Please post only English]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<%= out.print('${something}')>,can EL in scriptlets?

First, this does not look right. The <%= is expecting something to be returned, but the print method does not return anything. Also, strings should be enclosed with double quotes, not single quotes. The scriptlet you are trying to use should look like :


This expression will not be evaluated. It will be considered to be a String. So the output will be ${something}.

:two

Sorry, I don't have the book so I can't help unless you post the questions. It's not fobidden to post questions, as long as you tell where they come from.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic