hi friends my problem is urldecoder is working on intranet but its giving nullpointer exception on web server . first i am sending the value through hiden input encode("dfdfgdgd dg d"); this is first servlet And in secound servlet i am doing as follows decode(getparameter("xxx:"));//on this line its giving the above exception what is this problem? & what is solution for this? If posiple pl. send me piece of code. I am useing jswdk1.0.1 SUMIT
posted 14 years ago
I suspect getParameter is returning null. You should check for null before calling decode.