• Post Reply Bookmark Topic Watch Topic
  • New Topic

Queries on Scriptless JSPs  RSS feed

Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • 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...
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!