I tried to get selected value into my Servlet page but I did n't able to get the selected value.Am getting exception.Please give me
solution to solve this problem.First i run my operator.jsp .This page contains two frames.In left side am getting values from database
through radio button.In right side of the page contains text box and submit button.If i select any radio button value and give input into
text box when submit the transfer or hold button clicked the corresponding action will be performed into my Servlet page.But i should n't able to run successfully.Am getting the Null pointer Exception.
The following error message will be getting...
java.lang.NullPointerException MainServlet.doGet(MainServlet.java:35)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Regards,
Suganya.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
In which line does the exception occur? Which object is null?
I'm not following. Both JSPs have a form field "callerid", so I would expect to be able to get a value. Why do you think otherwise?
I'm also still not clear on which line throws the exception, and which object is null - the "callerid" parameter? If you don't expect a value to be transmitted then that should not be a surprise.