Being defeated is often a temporary condition. Giving up is what makes it permanent.
Joined: May 14, 2006
shivani , can you please answer my query .
Joined: Sep 18, 2004
Is there any facility to store name,value pairs in web.xml for using them in that particular jsp only?
Okay Navat , did you see in web.xml that <servlet> has <jsp-file> sub-element to it?. (Normally one mentions a <servlet-class> instead of jsp file)
Now in the above case , you can see how the init-param have been given to the JSP - Also you can see that settings like load-on-startup have been used for the JSP file - so that it is translated and compiled and loaded before any request has been made for it.
Fuzail , config implicit object in JSP page is reference to ServletConfig instance. Whereas the initParam implicit EL object is a Map of context initialization paramateres/values. I think you mixed the two
Ah and for humor let me quote the "dedicated to" in HFJS.
This book is dedicated to whoever decided that the EL implicit object for a context param should be named initParam