Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Include post method in Java function
Message
 
À
10/02/2005 18:45:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00985764
Message ID:
00985822
Vues:
32
Greg -
Many thanks for the link (and snippit) [again:)]
Off the top - what is the length limit on GET / POST?
Thanks


>If you are look to do it behind the scene, try this.
>
>
>var xmlhttp, lcURL, lcResult
>xmlhttp = new Msxml2.XMLHTTP
>lcURL = "http://localhost/scripts/myCGI.dll/myCOM.myClass.MyMethod"
>xmlhttp.OPEN( "POST",lcURL, .F. )  // wait for response.
>xmlhttp.SEND()
>lcResult = xmlhttp.responseText
>
>
>General, I have always used the "GET" with method. But it does support the "POST" too.
>
>Heres a good starting point to learn more about this object.
>
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/xmmthopenixmlhttprequest.asp
>
>
>>My function will return a response from the server. How can I specify the method when using a function() [rather than a form action"
>>
>>function JavaScript_Onclick()
>>{
>>window.parent.frames("_Launch").location="http://localhost/scripts/myCGI.dll/myCOM.myClass.MyMethod"
>>}
>>
>>This function fires and returns the expected results (amazing!). How can I include a GET or POST method specification in the call?
>>
>>Thanks
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform