• 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
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Peter Rooke
Bartenders:

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).]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic