作者对于开始dedicated的解释_Head First Servlets & JSP(中文版)书评-查字典图书网
查字典图书网
当前位置: 查字典 > 图书网 > > Head First Servlets & JSP(中文版) > 作者对于开始dedicated的解释
NickyYe Head First Servlets & JSP(中文版) 的书评 发表时间:2008-09-23 21:09:09

作者对于开始dedicated的解释

This book is dedicated to whoever decided that the EL imobject for a context param should be named initParam...
  
  http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=18&t=004242
  
  That's absolutely right -- if you see "init-parameters" and it does not explicitly state servlet or context, then you are to assume it means servlet init parameters.
  
  Just be prepared that sometimes you might see the phrase "context parameters" and "context init parameters", but they both mean the same thing. And you might see "init parameters" and "servlet init parameters" and THEY both mean the same thing.
  
  It IS very confusing; this use of the phrase "init parameters".
  
  Did you notice who we dedicated the book to? It's to "Whoever decided that the EL implicit object for context parameters should be named initParam." Given that when you look in the DD, init param is used for SERVLET init parameters, not CONTEXT parameters.
  
  The reason we made that dedication is because that is a perfect example of something being named in the most confusing way, and we figured that if the API had been designed perfectly and intuitively, you wouldn't have as much need for a book
  
  cheers,
  Kathy

展开全文
有用 0 无用 0

您对该书评有什么想说的?

发 表

推荐文章

猜你喜欢

附近的人在看

推荐阅读

拓展阅读