Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic