Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 22, 2007 at 07:03 AM

    sorry, it's my fault. just because my EP server's ip is limited.

    Add comment
    10|10000 characters needed characters exceeded