Hi Folks,
        I have got null pointer exception while trying to forward request to
another servlet using RequestDispatcher. The code snippet and the exception
is as follows.
        String url="http://localhost/servlet/AccountBalance?cust_id=1234":
        RequestDispatcher rd = context.getRequestDispatcher("url");
        rd.forward(request,response);
        while trying to execute the above code I am getting null pointer
exception. If I change the url to...
        "/servlet/AccountBalance?cust_id=1234" or
"<http://localhost/servlet/AccountBalance>" its perfectly working without
any exceptions. Any ideas....
        Cheers,
        ramesh

___________________________________________________________________________
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

Reply via email to