Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: GetServletContextName


Message #1 by "Alfian Hadi" <alfianhadi@s...> on Fri, 11 Oct 2002 14:48:15 +0700
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 -







  Return to Index