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

Click here to load this message in the networking platform