Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Include post method in Java function
Message
De
10/02/2005 17:25:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00985764
Message ID:
00985793
Vues:
30
>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?
>
The only way I know for JavaScript to trigger a POST is by submitting a form. Setting a window or frame location always just results in a GET. Bottom line, I think you need create a form before you can post (although I could easily be wrong).

Aside: don't mix the terms Java and JavsScript. Everything you're discussing here is the latter.

-- Randy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform