hi..
pass servlet context as a parameter in ur init
method....
jayakumar
--- Pratap Sinha Routray
<[EMAIL PROTECTED]> wrote:
> hi all java gurus,
> this the error coming------>
> cannot resolve symbol
> symbol : method getInitParameter
> (java.lang.String)
> location: interface javax.servlet.ServletContext
>
>
chatAdminPath=context.getInitParameter("ADMIN_PATH");
> while my code is
> public void init()
>
> {
>
> ServletContext
> context=getServletContext();
> String
>
chatAdminPath=context.getInitParameter("ADMIN_PATH");
> }
>
> so please tell me the reason????
> thanx in advance.
> pratap
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help:
http://www.lsoft.com/manuals/user/user.html
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html