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

Form post at server-side

 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to pass parameters from servlet to the page running at different server (not Java page, its MS-Page (ASP)). Which not only passes parameters but also should get response from the other server.
Is RequestDispatcher solves the problem? or is there any other API.
Thx
[This message has been edited by Anil Vupputuri (edited June 12, 2001).]
 
Sandeep Jain
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Well u can use either request dispatcher or URL class for the same purpose and I also feel that there would not be any change
in code because of the change in server.
------------------
Try and Try Till u succeed
Sandeep Jain
 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sandeep,
Thx. for the response. So which is better of URL,URLConnection and HttpURLConnection. I think all these classes serves the requirement.
My requirement is to call the cgi script file on the other server, which in turn creates gif files based upon parameter values. So I need to capture all the generated gif files and should be able to display in my page. So what could be the better way ? When I use all these URLConnection classes, I can able to get HTML content, but what abt gif files, how to deal?
Thx.
[This message has been edited by Anil Vupputuri (edited June 13, 2001).]
 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any ideas ??
Thx
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic