Im using JSSE to do this same thign but with an SSL connection. The test app
i worte (just regular java) seems ot take along time to connect and
download... Yall know of a way to speed this up?


Thanks

Brady Moritz
Moritz Designs


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Damian Guy
> Sent: Tuesday, August 01, 2000 5:50 PM
> To: Orion-Interest
> Cc: Orion-Interest
> Subject: Re: URLConnection using the method POST
>
>
> Yep,
>
> you can do something like so:
>
>               URL url = new URL(hostname);
>
>                 HttpURLConnection conn =
> (HttpURLConnection)url.openConnection();
>                 conn.setDoOutput(true);
>                 conn.setRequestMethod("POST");
>                 PrintWriter stream = new
> PrintWriter(conn.getOutputStream(), true);
>                 stream.println("xml=" + URLEncoder.encode(xml));
>
> Regards,
>
> Damian
>
> > HI!
> >
> > I need to make a servlet (or JSP page) to get an external page using the
> > method POST. Is it possible with the URLConnection class?
> >
> > Thanks.
> > Guilherme Ceschiatti
>


Reply via email to