当我尝试通过 jquery .load()将 asp.net 页面加载到 Coldfusion 页面时,我有一个独特的问题
我知道这个问题。在我的asp.net页面上调用webmethod (通过AJAX POST)时,它采用了 Coldfusion 页面的路径:
<b> Requested URL: </b>/production/Default.aspx/getChartDetails<br><br>
asp.net 页面最初位于:
http://xxxxx.xxxxx.net/dotnet/productionTimeline/Default.aspx.
和 Coldfusion 页面位于:
https://xxxxx.xxxxx.net/production/htmlpage.html
回到上面的第一个声明 - 它将生产放在 webmethod 的URL链接中,这会导致404。
/production/Default.aspx/getChartDetails
如何才能正常加载( Default.aspx / getChartDetails ),而不是使用 Coldfusion 页面上的当前网址路径?