• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Queries on Scriptless JSPs

 
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. Page 417, Q2
Given that a web applicatoin stores the webmaster email address in the servlet context initi. paramters called master-email..

The above line talks about servlet init paramters. I don't think there is any implit object available for servlet initi paramters. There is one one initParam Object which is for context init params!!

2. Page 420, Q6
The option f ${list[list['listIdx']]}
list['listIdx'], this should technically return blank or exception. This is because... when 'listIdx' is given in quotes, it is not evaluated rather it searches for the index in this list. If this would have been w/o qotes, the answer is fine. !! Am I right...

3 Page 422, Q13
What is wrong in answer (C), its perfectly valid syntax. Is it because of file type. Would this had been right if the file name used was not a binary like <jsp:include page="logo.jpg"/>


Thanks in Advance...
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic