Hi, how can i get the context name in a genericServlet ? we have a init servlet that initializes our web application (which is a generic servlet). To configure the some stuff i need the context e.g. /testapplication How can i get this context from the generic servlet ? Thanks in advance, Andy
can't u just use getServletContext(); ? i am not sure what u mean that it is a GenericServlet, have u extended the GenericServlet .. ??? in either case i am sure u can use getServletContext. or do u want the context of a webapplication ?
<BR>Rahul Dighe
My first bit of advice is that if you are going to be a mime, you shouldn't talk. Even the tiny ad is nodding:
Gift giving made easy with the permaculture playing cards