摘要: //requestUrl 请求的地址//requestMethod请求的方法 get post//outputStr 需要上传到微信服务器上的数据 json 格式public static String httpRequest(String requestUrl, String requestMet... 阅读全文
posted @ 2015-12-21 15:25 萧夜承 阅读(320) 评论(0) 推荐(0)
摘要: 当然在myeclipes 和eclipes 中存在 request 和this的区别 请自己注意ServletContext application = request.getServletContext(); String gw_address = (String) application.ge... 阅读全文
posted @ 2015-12-21 13:43 萧夜承 阅读(982) 评论(0) 推荐(0)
摘要: 感谢ZjFree-自由自在看了他的资料我才明白怎么简单的使用window.name 下面是他的博客的地址http://www.cnblogs.com/zjfree/archive/2011/02/24/1963591.html下面是代码:跨域获取数据这是你要获取的window.name 的网站的事例... 阅读全文
posted @ 2015-12-16 12:18 萧夜承 阅读(126) 评论(0) 推荐(0)
摘要: 最近在做项目 看了一些关于上传下载的资料, 自己测试通过后留着备用 String filename = request.getParameter("filename"); //filename 是文件资源的路径、 Integer num = filename.lastIndex... 阅读全文
posted @ 2015-12-14 11:42 萧夜承 阅读(172) 评论(0) 推荐(0)