Hi,
I need to open a URL from my servlet's doGet() method.
But the URL/html file " is not in the same servlet context.
Is there any way other than using URL class & reading the stream
something like
doGet(...)
{
//based on some parameter value
//open a URL say www.yahoo.com
URL url = new URL(http://www.yahoo.com);
URLConnection...
while(){
String str = readLine()
out.print(str);
}
Thanks
Harish
}
___________________________________________________________________________
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