• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet not completing execution

 
Danish Shaukat
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !

I have the following code (at end) in the doPost method of my servlet. "x-up-subno" is used for getting the subscriberID of the wap cell-phone. Now when the servlet runs I get the following out put.
SID: null
Thats it. I do not get any further output. The execution seems to stop, but there is no exception. So can anyone tell whats going on.

[ July 13, 2003: Message edited by: Danish Shaukat ]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since sid is null, you are undoubtedly getting a NullPointerException at the line:
if( sid.equals("") )..
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!