Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

Need help with uploading file

 
trupti nigam
Ranch Hand
Posts: 625
  • 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.


thanks
Trupti
 
Joe Ess
Bartender
Pie
Posts: 9259
10
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.
CarefullyChooseOneForum
 
    Bookmark Topic Watch Topic
  • New Topic