简体   繁体   English

EditableGrid loadXML

[英]EditableGrid loadXML

I am using EditableGrid's loadXML(URL) or loadJSON(URL) to fetch data from oracle. 我正在使用EditableGrid的loadXML(URL)或loadJSON(URL)从oracle获取数据。

I've realized that EditableGrid will generate a GET request with a token ID added to the end of my URL . 我已经意识到EditableGrid会生成一个GET请求,并在URL的末尾添加一个令牌ID。

So the request url became url&1478799713810 因此,请求网址变成了url&1478799713810

And my server side script will return an error message as follow. 而且我的服务器端脚本将返回以下错误消息。

Missing '=' in query string or post form. 查询字符串或帖子形式中缺少“ =”。

That is because server script, to be more specific, I am using PL/SQL via Apache PL/SQL Gateway instead of PHP. 那是因为服务器脚本,更具体地说,我通过Apache PL / SQL Gateway而不是PHP使用PL / SQL。

I guess, php will automatically take care of that token, but pl/SQL's stored procedure won't recognize that extra parameter. 我猜想,php将自动处理该令牌,但pl / SQL的存储过程将无法识别该额外参数。

is there a way to stop EditableGrid from adding any extra or is there a way for pl/SQL to ignore or take that extra ampersand and token number? 有没有办法阻止EditableGrid添加任何额外内容,还是有一种方法让pl / SQL忽略或采用该额外的&符号和令牌号?

我在网址末尾添加了#,这是一个终止网址的非法网址字符,这样做后,我的mod pl / sql忽略了#之后的内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM