Hi, expert in list
I know this is off topic, but I really cannot find out why:
I have a servlet read a text string from certain url, the code are:
URLConnection connection = url.openConnection();
BufferedReader in = new BufferedReader(new InputStreamReader(
connection.getInputStream()));
if ((pegMess = in.readLine()) != null)
System.out.println("Pegasus Response: " +pegMess);
in.close();
Problem when the text is: e.g.
"...A * B * 99 C * D"
the pegMess will be "...A", all the stuff after * will be cut out.
Do appreciate if anyone can tell me what happening here!!!
Stella
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html