Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How can i get this "input.readline()" in webdynpro

i wanna get the the return message from a system

Here is the system.

When I "telnet XX.XX.XX.XX", it'll return"OK".

Then "user user" also some info return like "login success".

With Eclipse these codes are OK.

//...
out.println("user user");
out.flush();
String str = "";
while ((str = input.readLine()) != null) {
//now str is "login success"
//do something...
}

But i can get nothing but a "null" str with these codes in NetWeaver Stdio.

Is there anyone can give me some suggestion?

Thanks in advance

Message was edited by:

fishy yu

Former Member
Not what you were looking for? View more on this topic or Ask a question