Tnx! It works just fine :-)

> Hi Stanislav,
>           Use these lines to avoid the NullPointerException
> 
> import javax.servlet.ServletContext;
> import javax.servlet.http.HttpSession;
> 
> 
>    HttpSession ses = request.getSession();
>    ServletContext cfg = ses.getServletContext();
> 
> Hope this piece of code helps you,
> 
> Thanks & Bye,    Ganesh.K
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to