my dog learned polymorphism
The moose likes Other Application Frameworks and the fly likes Need help with uploading file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Reply locked New topic

Need help with uploading file

trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613
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

Joined: Oct 29, 2001
Posts: 9168

Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.

[How To Ask Questions On JavaRanch]
subject: Need help with uploading file
It's not a secret anymore!