Click here to Skip to main content
15,900,439 members
Home / Discussions / Java
   

Java

 
QuestionConnecting to website and checking elements Pin
Valentinor15-Dec-18 1:57
Valentinor15-Dec-18 1:57 
AnswerRe: Connecting to website and checking elements Pin
Richard MacCutchan15-Dec-18 3:49
mveRichard MacCutchan15-Dec-18 3:49 
GeneralRe: Connecting to website and checking elements Pin
Valentinor15-Dec-18 4:19
Valentinor15-Dec-18 4:19 
GeneralRe: Connecting to website and checking elements Pin
Richard MacCutchan15-Dec-18 4:40
mveRichard MacCutchan15-Dec-18 4:40 
GeneralRe: Connecting to website and checking elements Pin
Valentinor15-Dec-18 4:54
Valentinor15-Dec-18 4:54 
GeneralRe: Connecting to website and checking elements Pin
Richard MacCutchan15-Dec-18 5:01
mveRichard MacCutchan15-Dec-18 5:01 
GeneralRe: Connecting to website and checking elements Pin
Valentinor15-Dec-18 5:54
Valentinor15-Dec-18 5:54 
GeneralRe: Connecting to website and checking elements Pin
jschell15-Dec-18 7:05
jschell15-Dec-18 7:05 
AnswerRe: Connecting to website and checking elements Pin
jschell15-Dec-18 7:07
jschell15-Dec-18 7:07 
GeneralRe: Connecting to website and checking elements Pin
Valentinor15-Dec-18 9:30
Valentinor15-Dec-18 9:30 
QuestionHandle Multiple Threads With One Server Pin
Member 1408670212-Dec-18 0:45
Member 1408670212-Dec-18 0:45 
AnswerRe: Handle Multiple Threads With One Server Pin
Richard MacCutchan12-Dec-18 21:54
mveRichard MacCutchan12-Dec-18 21:54 
AnswerRe: Handle Multiple Threads With One Server Pin
jschell15-Dec-18 7:12
jschell15-Dec-18 7:12 
QuestionMerge sort question Pin
Member 1408406810-Dec-18 5:31
Member 1408406810-Dec-18 5:31 
AnswerRe: Merge sort question Pin
Richard MacCutchan10-Dec-18 6:32
mveRichard MacCutchan10-Dec-18 6:32 
GeneralRe: Merge sort question Pin
Member 1408406810-Dec-18 11:37
Member 1408406810-Dec-18 11:37 
GeneralRe: Merge sort question Pin
Richard MacCutchan10-Dec-18 21:50
mveRichard MacCutchan10-Dec-18 21:50 
GeneralRe: Merge sort question Pin
Member 1408406811-Dec-18 0:30
Member 1408406811-Dec-18 0:30 
QuestionBuffer reading is hanging while reading ? Pin
GiteHrudaya10-Dec-18 1:28
GiteHrudaya10-Dec-18 1:28 
Quote:
I am using BufferedReader for reading a response from the server.

while((String line = br.readLine()) != null)
System.out.println(line);

Above is my code. When I run I am getting only few lines but not all the lines.

If br completes reading a line then it should return null and come out of the loop. That is also not happening. It is just waiting for the line to read.

Any idea why this is happening ?

AnswerRe: Buffer reading is hanging while reading ? Pin
Richard MacCutchan10-Dec-18 4:41
mveRichard MacCutchan10-Dec-18 4:41 
AnswerRe: Buffer reading is hanging while reading ? Pin
jschell15-Dec-18 7:17
jschell15-Dec-18 7:17 
QuestionJava Gui Project Pin
Member 140826818-Dec-18 22:26
Member 140826818-Dec-18 22:26 
AnswerRe: Java Gui Project Pin
Peter_in_27808-Dec-18 23:09
professionalPeter_in_27808-Dec-18 23:09 
AnswerRe: Java Gui Project Pin
Richard MacCutchan9-Dec-18 2:00
mveRichard MacCutchan9-Dec-18 2:00 
QuestionDatabase Connection from Java Pin
prithaa8-Dec-18 6:07
prithaa8-Dec-18 6:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.