Re: HTTP response help please ?

2002-01-08 Thread Rasmy Anand
Hello Eddie In the code you have to set the content type,.So if you are sending any data or Object as it is, you have to give the code like this String url;//some url intialize it String obj=t1.getText(); URL u=new URL(url); URLConnection cn=u.openConnection(); cn.setDoOutput(true);

HTTP response help please ?

2001-11-14 Thread Eddie
Hellu, Please some HTTP response help as it drives me grazy. I have a tiny java program (originaly it is part of the EJB but I extrated it to a stand-alone program for testing) that opens a Url connection and sends something through a Stream. It then reads the response from the input stream.