1

你好我想问一个关于非官方axis2/c的问题。

我安装了最新版本并尝试运行示例“ExampleJsonEchoClient”(在https://code.google.com/p/axis2c-unofficial/wiki/ExampleJsonEchoClient中找到)当页面在 localhost 中加载时,带有一个检查按钮,那里单击它时没有任何反应。

在同一页面提供的指南中,有以下步骤:“将 jquery 下载到该目录并将其命名为 jquery.js”并提供指向:http: //jquery.com/download/的链接

我应该下载哪个版本?我应该将整个文件夹命名为 jquery.js 吗?或者使用名为 jquery 的文件夹中的文件?

提前致谢。

编辑: 谢谢!这行得通!

奇怪的是,当我尝试将非官方的axis2 / c安装到第二台计算机时,我现在遇到了安装问题

我按照说明进行操作,但收到以下错误消息

json/axis2_json_writer.c: In function 'axis2_json_writer_get_json_string':
json/axis2_json_writer.c:173:64: error: 'JSON_C_TO_STRING_PLAIN' undeclared
(first use in this function)
json/axis2_json_writer.c:173:64: note: each undeclared identifier is reported only once for each function it appears in
make[7]: *** [axis2_json_writer.lo] Error 1
make[7]: Leaving directory `/home/.../axis2c-unofficial/src/core/transport/http/sender'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/.../axis2c-unofficial/src/core/transport/http/sender'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/.../axis2c-unofficial/src/core/transport/http'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/.../axis2c-unofficial/src/core/transport'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/.../axis2c-unofficial/src/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/./axis2c-unofficial/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/.../axis2c-unofficial'
make: *** [all] Error 2

我想不通这个...

4

1 回答 1

0

您可以使用任何目录结构,但echo.html需要jquery.js与.echo.jsecho.html

在 中可以轻松更改路径echo.html,但在示例中的目录结构很简单,即所有文件(echo.htmljquery.jsecho.js都在/var/www/json-echo/目录中。

/var/www/json-echo/
                echo.html
                echo.js
                jquery.js

要使用 JSON,您可以使用任何现代版本的 jQuery(1.x 或 2.x),无论是压缩的还是未压缩的,都适合您的口味。下载后将jquery-x.xx.x(.min).js其重命名为jquery.js(或编辑echo.html)。

正如 jquery.org/download 站点上所写,除了 Internet Explorer 支持之外,版本 1.x 和 2.x 之间没有具体区别:

jQuery 2.x 具有与 jQuery 1.x 相同的 API,但不支持 Internet Explorer 6、7 或 8。

于 2013-07-10T10:06:54.807 回答