In your web.xml file this should be the first item under <web-app>:
<display-name>My Application</display-name>
hth,
Greg
-----Original Message-----
From: Alfian Hadi [mailto:alfianhadi@s...]
Sent: Friday, October 11, 2002 2:48 AM
To: Pro_JavaServer_Pages
Subject: [pro_jsp] GetServletContextName
Hi, all
I have been trying to get the Context name through
application.getServletContextName(), but it keeps returning "null" value to
me. Based on the Servlet API, something needs to be done in the deployment
descriptor. Anyone got some experience with this ? Thanks.
- Alfian -