Hi !
This code is working in Netscape but when I run it in IE...
URL url = new URL( _url + "?action=" + action );
URLConnection connection = url.openConnection();
connection.setDoOutput( false );
connection.setDoInput( true );
connection.setUseCaches( false );
//
// Connect to the Servlet
//
connection.connect();
System.out.println("Connect url: " + url );
InputStream is = connection.getInputStream();
this line is printed just before connect, why does IE adds an extra "/" ?
Connect url: http://localhost:80/servlet/myservlet?action=login
java.io.IOException: localhost:80//servlet/myservlet?action=login
at com/ms/net/wininet/http/HttpInputStream.connect
at com/ms/net/wininet/http/HttpInputStream.<init>
at com/ms/net/wininet/http/HttpURLConnection.createInputStream
at com/ms/net/wininet/WininetURLConnection.getInputStream
at rms/client/addressbook/ContactManager.getInputstream
is this a known problem or is it just my IE
/Micke W
___________________________________________________________________________
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