• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Preparing Multipart mime for HTTP

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a Java application that must send a multipart mime message (one XML file and several HTML files) over HTTP. Our Cold Fusion server will manage the HTTP. All I want to do is use Java to prepare the multipart message, presumably in a file, and pass it to our Cold Fusion application, which will take care of the HTTP transmission.
I've looked through the Sun JavaMail documentation, and experimented a bit. But, it's still not clear to me that this is the right API for my needs.
So, I have two specific questions:
1) Does it even make sense to prepare an entire multipart package in a standalone way like I want to do, and then let the Cold Fusion HTTP server, managed by Cold Fusion code, take care of the transmission? Or, must the multipart preparation for some reason be tied in more tightly to the HTTP server?
2) What are the right Java packages/classes to do what I want?
Thanks for your help,
Ron
 
reply
    Bookmark Topic Watch Topic
  • New Topic