I don't know much about ServletContext as I have been primarily working with jsp/javabeans/EJB and not really with servlets at all. If anyone knows, is it possible for me to retrieve ServletContext information from InitialContext? Is it part of the same "tree" or are they completely separate and unrelated?
I dont know of any connection (other than the name) between servlet and initial contexts ... InitialContext is where you can get register and get access to objects in JNDI. ServletContext allows a servlet to communicate with its container. Objects can be stored in and retrieved from a ServletContext (set and getAttribute) but i dont think its related to the InitialContext names.