• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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).]
 
Why should I lose weight? They make bigger overalls. And they sure don't make overalls for tiny ads:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic