views:

32

answers:

1

I am using netbeans to develop an applet, i have a piece of code which looked like this:

ipAddresss = DEFAULT_IP;
 System.out.println("portlet.services.hostname:" + ipAddresss);

Now I changed it to something like this:

 ipAddresss = DEFAULT_IP;
  System.out.println("portlet.services.hostname using default IP Address:" + ipAddresss);

But no matter what I do, it sill keep on printing: portlet.services.hostname:null

I have tried deleting all .netbeans folder from documents and settings, tried creating new project, but now i am completely baffled by this issue...

So, the problem is, no matter what I do, no change is getting reflected when I run the program. Can there be a java applet cache, netbeans cache, i am not sure why...

A: 

Ok, I found the issue, I was including a jar in project compilation, which had exact same class as the file i am trying to run, netbeans always picked class from that jar instead of newly compiled one...

sachin