Hi, >Agreed, but my follow-up question was if there was such a call to be done >using a ServletContext/ServletConfig object so that you can get the context >path in initialization servlets, etc., before a request comes in.
No, and an archive search would reveal past discussions around this issue (though none recently). Webapps are supposed to be independent of their server configuration including with regards to context path, and so the Servlet Spec actively discourages you from doing webapp initialization or configuration based on such data. A lot of people debated for a long time what does and doesn't go into the ServletContext/ServletConfig objects as opposed to Request/Response objects. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
