//引用這三個xmlns Response.Write(""); Response.Write(""); //在head中加入xml定義 Response.Write("\n "); Response.Write("\n "); Response.Write("\n "); R...
分类:
Web程序 时间:
2015-02-12 18:05:25
阅读次数:
231
CreateweblogicdomainusingsilentinstallCreateweblogicdomainusingsilentfile.Createthesilentfilethatyouwillusefordomaincreation:-=====================================vi/weblogic_path/stage/response_files/wl_create_domain_demo.rsp************Filestartshere*****..
分类:
Web程序 时间:
2015-02-12 14:12:49
阅读次数:
762
过滤器,是在java web中,你传入的request,response提前过滤掉一些信息,或者提前设置一些参数,然后再传入servlet或者struts的 action进行业务逻辑,比如过滤掉非法url(不是login.do的地址请求,如果用户没有登...
分类:
其他好文 时间:
2015-02-12 10:55:31
阅读次数:
111
输入法(Input Method Editor)QR码是一种矩阵码,或二维空间的条码,1994年由日本Denso-Wave公司发明。QR是英文Quick Response的缩写,即快速反应的意思,源自发明者希望QR码可让其内容快速被解码。QR码常见於日本,并为目前日本最流行的二维空间条码。QR码比普...
分类:
其他好文 时间:
2015-02-12 09:13:58
阅读次数:
152
HttpResponse输出文件: Response.Clear(); Response.ContentType = "application/octet-stream"; //通知浏览器下载文件而不是打开 ...
分类:
Web程序 时间:
2015-02-12 00:32:41
阅读次数:
1183
以下演示了如何导出/导入数据 string file = Server.MapPath("/data.xml"); Code.ProductDataManage.Instance.ExportToFile(file, b => b.Id > 0);//导出到文件 Response....
分类:
其他好文 时间:
2015-02-11 18:01:53
阅读次数:
141
Response.Write(""); return this.MessageResult(true, "上传成功!");如上可以直接使用response.write
分类:
Web程序 时间:
2015-02-11 16:22:52
阅读次数:
155
Response.Write会把JS代码写在页面最顶部(前面)RegisterStartupScript会把JS代码嵌在页面底部、表单最后(前面),适用于要在页面空间加载完成后运行的JS代码RegisterClientScriptBlock会把JS代码嵌在页面顶部、表单最前面(后面),适用于要在控件...
分类:
其他好文 时间:
2015-02-11 14:19:24
阅读次数:
105
nl.fileid = Int32.Parse(id); //服务器上对应的id Stream stream = Lawsuit.DownLoad(nl);//服务器上的Stream 数据 Response.Buffer = fa...
分类:
Web程序 时间:
2015-02-11 12:23:08
阅读次数:
381
这两天在运维一个项目。项目在测试网上正常,等到部署到正式网上出现乱码问题当时后台的代码response.setContentLength(outData.length);
response.setHeader("Content-Disposition","p_w_upload;filename="+newString(fileName.getBytes(),"utf-8"));
ServletOutputStreamsos=..
分类:
其他好文 时间:
2015-02-11 02:06:20
阅读次数:
190