Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Include post method in Java function
Message
 
To
10/02/2005 18:45:51
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00985764
Message ID:
00985822
Views:
33
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform