jsonp跨域請求

先來建立web項目,包括一個jsp,內容以下:javascript <% out.write("this is content of JSP"); %> 咱們能夠用瀏覽器測試一下是否能夠訪問http://localhost:8080/TestJsonp/content.jsp 結果:this is content of JSPhtml 如今要用ajax來進行訪問(這裏用原生的ajax,排除框架形
相關文章
相關標籤/搜索