• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Form post at server-side

 
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any ideas ??
Thx
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic