Hi everyone,
I want to transfer a file from servlet page or JSP to an ASP page.
Since the two pages are in different server (WAS and IIS), I
cannot just send file path to the ASP page and let it retrieves
the file itself. If i path file paths's to servlet/JSP it should send
those files to ASP page on different server(IIS) for processing.I don't

want to use file input type ="File" for selecting the file to upload,i
want it to happen in background.
I want the ASP page can get the file and then process it. Do you
guys know how to do it? If any of you know, please reply. I
really appreciate it.

Srini

Re: Sending files from Servlet/JSP page to ASP Page by Mike

Mike
Sun Oct 29 10:49:08 CST 2006


"Srini" <ravikanth.as@gmail.com> wrote in message
news:1162137684.464206.100740@b28g2000cwb.googlegroups.com...
> Hi everyone,
> I want to transfer a file from servlet page or JSP to an ASP page.
> Since the two pages are in different server (WAS and IIS), I
> cannot just send file path to the ASP page and let it retrieves
> the file itself. If i path file paths's to servlet/JSP it should send
> those files to ASP page on different server(IIS) for processing.I don't
>
> want to use file input type ="File" for selecting the file to upload,i
> want it to happen in background.
> I want the ASP page can get the file and then process it. Do you
> guys know how to do it? If any of you know, please reply. I
> really appreciate it.
>

Look at the problem from the opposite angle. Rather than thinking about
sending a file from a jsp page, get the asp page to retrieve the file:

http://classicasp.aspfaq.com/general/how-do-i-read-the-contents-of-a-remote-web-page.html

--
Mike Brind