Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars
the
communication breaks up in the middle.
Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars
Originally posted by Nirmal Mekala Kumar:
I was told that whenever a servlet calls the method of an included class it starts as a seperate thread or process and the servlet itself which is a different thread executes to completion without waiting for the new thread.
Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars
Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars
Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars
Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars
So if you could tell me which part you would like to see, I could post that.
Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars
The Servlet part which sends the first request to the Host and receives a response and then sends request via 2 new ports received as response to the first request.
Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars
Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars
Originally posted by Nirmal Mekala Kumar:
Sorry for posting such a long code.
from your earlier post
The ack is never received as the servlet code falls through to completion without sending the ack or continuing the communication with the host.
Ben
Actually, I would rather that you had printed the entire source file.
I would like to see what you're doing in the catch and finally blocks.
William
It looks to me like you are trying to do everything in the servlet request Thread -a bad idea IMHO (as I explained before). Bill
ramprasad
From the code in your last posting I dont see the servlet sending any acknowledgement. It opens an i/p and o/p stream, reads the port numbers from the i/p streams, does nothing with the o/p stream and closes the connection.
Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars
Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |