If we add the value thro' context init parameters in web.xml then the ans is initParam ? If we set the attribute then the ans is applicationScope? How do you make the difference
please go to the HFSJ page that expalins the 'initParam' EL implicit object.
the bos at the side of the description, clearly states the the initParam object is used to retrive context init paramaeters and not to retrieve init parameters as the name sugests
now lets take the other part -
if you want to retirve a
property of a ServletContext / Request / HttpSession object then in that case you need to use the applicationScope / requestScope / sessionScope EL impliciats objects
There is deffeernce betweeen property of ServletContext and a
attribut stored in the context scope ! get the differnce ?
hth