• 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

Getting a String from a Javascript function call

 
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
My javascript function calls a servlet located in an another place,in a remote server
like this
<form name="test" method="post">
</form>
<script language = "Javascript">
function t1(){
test.action="http://dd.sss.com/testServlet"+ + "&Form=True&Encode=True
test.submit();
}
</script>
Now this servlet code is NOT accesible for us.
It returns a String as response, a big XML string.
I have to pass that String as an argument to a second Javascript function. second(input)
Is there any way that I can get this response string in a html /jsp file that I specify ?
ie, once the form is submitted to another servlet which returns a String, can I get the output of that servlet in a page that I specify....
Any help..
Thanks,
Maya
[This message has been edited by maya menon (edited August 17, 2001).]
 
Do not meddle in the affairs of dragons - for you are crunchy and good with ketchup. Crunchy tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic