Skip to main content

Home/ InfokeyDEV/ Group items tagged tip

Rss Feed Group items tagged

Benx Shen

John Resig - DOM DocumentFragments - 0 views

  • Browser Normal (ms) Fragment (ms) Firefox 3.0.1 90 47 Safari 3.1.2 156 44 Opera 9.51 208 95 IE 6 401 140 IE 7 230 61 IE 8b1 120 40
  • As it turns out: A method that is largely ignored in modern web development can provide some serious (2-3x) performance improvements to your DOM manipulation.
Benx Shen

Coding In Paradise: AJAX Tutorial: Saving Session Across Page Loads Without Cookies, On... - 0 views

  •  
    介紹如何透過瀏覽器的小技巧,在 AJAX 的系統環境中,可以在瀏覽器端記住一些狀態資料。... 答案是:隱藏欄位!
Benx Shen

Raible Designs | Proposed Tomcat Enhancement: Add flag to escape JSP's EL by default - 0 views

  • Hello all, I'm working for a client that's using a proprietary Servlet/JSP-based framework that runs on Tomcat. They have their own custom JSP compiler and they're looking to move to a standard JSP compiler. One of the things their compiler supports is automatic escaping of XML in expressions. For example, ${foo} would be escaped so <body> -> <body>. JSP EL does not do this. It *doesn't* escape by default and instead requires you to wrap your expressions with <c:out/> if you want escaping. I'd like to ask what developers think about adding a flag (similar to trimSpaces in conf/web.xml) that allows users to change the escaping behavior from false to true? I think this is a good option to have as it allows security-conscious organizations to paranoid and escape all content by default. Thanks, Matt
  •  
    使用 <c:out> 標籤來取代 ${foo} 這種 EL 的寫法,可以自動將內容中的 < > 轉換成 &lt; &gt;
    這樣,可以讓自己的動態網頁內容變得更加安全喔!

Benx Shen

面向未來的CSS實踐-CSS-AJAX -JavaEye做最棒的軟件開發交流社區 - 0 views

Benx Shen

Tomcat 實用小技巧-Tomcat-Java - 0 views

1 - 5 of 5
Showing 20 items per page