hi,
I am calling a Http connection to a JSP page from an iAppli, the jsp page
based on certain parameters redirects to a servlet. When HttpConnection's
connect method is called I get Connection Exception with status
10(HTTP_ERROR, which means the response was not 2xx). Ofcourse reponse will
be 3xx as there is a redirection.
Does it mean that I cant get a Http connection to redirect by itself...?
This is my code,
HttpConnection httpconnectionObj= (HttpConnection)Connector.open(SSERNAME,
Connector.READ,true);
httpconnectionObj.setRequestMethod(HttpConnection.GET);
httpconnectionObj.connect();
InputStream inputstreamObj= httpconnectionObj.openInputStream();
thanks
naveen
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Fri Nov 16 07:40:02 2001