Amit Ellana

Greenhorn
+ Follow
since Mar 22, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Amit Ellana

thanks for the help....i think im a bit in over my head with this issue and i need to take a couple steps back and review.....
20 years ago
I have read the two articles above, but still can't resolve my problem. I need to create a constutor in CTimer but im still not sure what value to put into 'silfa'?
20 years ago
Thanks for the reply Ernest Friedman-Hill but im not sure what the answer is? could you explain it a bit more or point me to a place where I could find that answer....again thanks for the help
amit
20 years ago
please help i have been getting this error and i cant fix it
a lil background info:
This is my first major java project after HelloWorld, its suppose to be a Client Server program. I got the Client Server part to work with both echoing a string back and forth...Then i wanted to add something that would let the server know when a client is no longer available....so i add timers to both the server and the client...for the client timer i wanted it to send a "*" to server every 10 seconds.but when the client timer tries to send the "*" java.lang.NullPointerException.....please take a look at my code and tell me what i am doing wrong
im posting only the client codes cuz i feel that is what is causeing the problem CThreaded a threaded client, CScon connection class for the client, and CTimer a client timer.
//CThreaded

CScon

CTimer

the error message is:
java.lang.NullPointerException
at nwpj.CTimer.run(CTimer.java:97)

if you could please tell me what is causing this error or if you could atleaset explain the error to me i would be greatful..
Amit
20 years ago
they are no longer accepting new memebers
21 years ago
First i would like to say that this is a great site and i have learned alot just browsing around!
I have two questions that i need help with:
I have made a simple get and post servlet which i have tested with tomcat to make sure it works and now i want to post on the web. the three files i need to post are the .java,.class,.html files correct? and how do i post them on the server?
my second question is if i could post these files any server, or does it have to be a specific one? and if so any recomendations?
i will apreciate any and all help and responses!
Amit
21 years ago