Quoting Amit Prakash :
var transport = new Thrift.Transport("/thrift/service/tutorial/");
What is the string "/thrift/service/tutorial/" supposed to mean. Is it
supposed to point to the server?
If yes, how can I give a host port. I tried "host:port" and that seems to
throw an error.
please c
var transport = new Thrift.Transport("/thrift/service/tutorial/");
What is the string "/thrift/service/tutorial/" supposed to mean. Is it
supposed to point to the server?
If yes, how can I give a host port. I tried "host:port" and that seems to
throw an error.
27;t fully inspect the html file.
Thanks,
Richard
-Original Message-
From: Juan Moreno [mailto:jwellington.mor...@gmail.com]
Sent: Saturday, August 25, 2012 11:51 AM
To: u...@thrift.apache.org
Cc: dev@thrift.apache.org
Subject: Re: tutorial for javascript
This is what I see in the
Hi Richard
It does work with you have the java lib built
On 25 August 2012 17:51, Juan Moreno wrote:
> This is what I see in the HTML page:
>
> function calc() {
> var transport = new Thrift.Transport("/thrift/service/tutorial/");
> var protocol = new Thrift.Protocol(transport);
> v
This is what I see in the HTML page:
function calc() {
var transport = new Thrift.Transport("/thrift/service/tutorial/");
var protocol = new Thrift.Protocol(transport);
var client= new CalculatorClient(protocol);
var work = new Work()
work.num1 = $("#num1").val();
wor
I have not compiled the java or c++ server side code for the Javascript
tutorial, but it seems that it is broken as the .html page that comes in the
tutorial shows as the method call being calc(), not calculate(logid,Work) as
shown in the thrift file.
Do I understand this correctly?
Thanks,
Ri