uploading from a servlet to another servlet running elsewhere
Hi Guys,
I just wanted to know if I have a servlet running on one container which gets a request from a client. Now it processes this request and sends a response which in my case is a multipart post fileupload to another client.
Can a servlet upload to another servlet running on anohter web container?
Regards,
Elemental.
[355 byte] By [
Elementala] at [2007-11-27 8:09:15]

# 2
Well no, thats not the point, I already have code written using the commons.fileupload from jakarta. And it is not working as I expect it. There must be some kinks that I have to iron out but I was just wondering if conceptually if I have a servlet that I have deployed in Oracle Application server and it gets a request, can it than post a request to another servlet running on another web container, tomcat in my case. Actually the Tomcat servlet is my test client. This was for me the proof of concept and an example servlet for client users of my OAS servlet.
So summarizing, I get a multipart post request to my OAS servlet which contains a file, I take the file (using jakarta's fileupload libs) and then process it and again do a mulitpart post to the servlet running in Tomcat whose invocation url I know off. That conceptually sounds fine for servlets right ? That is all I wanted to know.