07 2015 档案
摘要:反向代理方式实际上就是一台负责转发的代理服务器,貌似充当了真正服务器的功能,但实际上并不是,代理服务器只是充当了转发的作用,并且从真正的服务器那 里取得返回的数据。这样说,其实nginx完成的就是这样的工作。我们让nginx监听一个端口,譬如80端口,但实际上我们转发给在8080端口的 tomcat...
阅读全文
摘要:function createLoadingDialog() { $("#loadingDialog").dialog({ autoOpen: false, closeOnEscape: false, modal: true, width...
阅读全文
摘要:$.ajax({ url: "test.aspx?action=testaction", contentType: "application/json; charset=utf-8", dataType: 'json', type: 'GET', data: JSON....
阅读全文
摘要:private void exportBinaryToExcel(byte[] bytes, string filename){ Response.AddHeader("Content-Disposition", "attachment; filename=" + filename); ...
阅读全文
摘要:public static void test(){ using (SpreadsheetDocument document = SpreadsheetDocument.Open("test.xlsx", true)) { ...
阅读全文
摘要:public static void GenerateExcelFromStream(){ using (MemoryStream memoryStream = new MemoryStream()) { using (SpreadsheetDocument document =...
阅读全文
摘要:http://stackoverflow.com/questions/7273338/how-to-vertically-align-an-image-inside-divHow it works:When you have two inline-block elements near each o...
阅读全文
摘要:jQuery.extend({ createUploadIframe: function(id, uri) { //create frame var frameId = 'jUploadFrame' + id; v...
阅读全文
摘要:left out panel This is right Div. This is right Div. This is right Div. Thi...
阅读全文