File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
HTTP Posting Using MIME
Joined: Aug 10, 2011
Aug 26, 2011 09:05:11
I have opened an post in Oracle.forums regarding the same..
I was sending HTTP Post Messages using URL Connection, but now I have to send a MIME message using HTTP Post, is it possible ?
This is what I use now
URLConnection conn = url.openConnection(); conn.setDoOutput(true); OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream()); wr.write(data); wr.flush();
Please let me know
I agree. Here's the link:
subject: HTTP Posting Using MIME
Java to Display Data from Database
Apache2 / Tomcat 6 / GWT 2.0 - Could use some help
HttpUnit POST method
Mistakenly changed web.xml
web.xml causes 404 error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015