java.lang.NullPointerException
hi
'm gettin this error
java.lang.NullPointerException
at com.att.adv8.servlets.cis.RequestHandler.doPost(RequestHandler.java:27)
n line 27 of my program is
request.getRequestDispatcher("../cis/add_"+fname+".jsp").forward(request, response)
kindly help me to debug th error .
[322 byte] By [
anmolgrada] at [2007-10-2 20:02:53]

Put this line before the current line #27System.out.println("request "+request+"\ndispatcher "+
request.getRequestDispatcher("../cis/add_"+fname+".jsp"));
One of those will display null. Then figure out why it is null.
> I would not be surprised if this were null:
> > request.getRequestDispatcher("../cis/add_"+fname+".jsp
> ")
>
this code works fine on a standalone system .. y its an error when deployed on a server n accesed by a client ?
plz clarify y u wont b surprised ?