This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

Need help with uploading file  RSS feed

trupti nigam
Ranch Hand
Posts: 640
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have an application that uses Spring Framwork servlet. I do not have any MVC in my app. There are no JSPs. The client request comes in, as some form of XML message over HTTP. It's processed by the servlet and then it sends back the response over HTTP Connection object.

On the client side this comes as an event.
I need to figure out a way to create a file out of this response and then upload it to some URL.
I have done the first part i.e. creating he file from the response. But I do not know what needs to be done to upload it to URL.
I looked at URL Connection etc. But the issue is I do not have the JSP, and the MVC framework so not sure how I can upload file.

can someone please give me some pointers.

Joe Ess
Posts: 9428
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!