Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending multipart message

 
carl jensen
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I create and send a multipart message with a servlet. I have looked throught the O'Reilly Servlets book and see how to receive and process a message, but nothing about creating one. Specifically, I'd like to create and send the multipart message with one servlet and process it with another.
Thanks!
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can certainly write your own http requests, and here is a thread that will give you what it should look like:
http://www.coderanch.com/t/353686/Servlets/java/Uploading-file-server-oreilly-MultiPartRequest
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic