malaikuangren

What is the purpose or drive to build thing like (xxx),How can it achieve the original goal of design?
上一页 1 2 3 4 5 6 7 8 9 10 ··· 27 下一页

2013年2月4日

Using jQuery's datastore vs. expando properties

摘要: http://stackoverflow.com/questions/1160193/using-jquerys-datastore-vs-expando-propertiesQuestion:I'm developing code using jQuery and need to store data associated with certain DOM elements. There are a bunch of other questions abouthowto store arbitrary data with an html element, but I'm mo 阅读全文

posted @ 2013-02-04 22:07 malaikuangren 阅读(222) 评论(0) 推荐(0) 编辑

2013年1月27日

Understaning Javascript prototype

摘要: http://stackoverflow.com/questions/8093057/javascript-inheritance-and-the-constructor-property/8096017#8096017http://yehudakatz.com/2011/08/12/understanding-prototypes-in-javascript/http://stackoverflow.com/questions/14545210/why-prototype-is-undefinedhttp://stackoverflow.com/questions/4841175/tryin 阅读全文

posted @ 2013-01-27 21:21 malaikuangren 阅读(197) 评论(0) 推荐(0) 编辑
Understaning Javascript OO

摘要: http://killdream.github.com/blog/2011/10/understanding-javascript-oop/index.html(Thanks original writer for this )1. ObjectsEverything you can manipulate in JavaScript is an object. This includesStrings,Arrays,Numbers,Functions, and, obviously, the so-calledObject— there are primitives, but they' 阅读全文

posted @ 2013-01-27 14:28 malaikuangren 阅读(222) 评论(0) 推荐(0) 编辑

2013年1月21日

What is Closure

摘要: As there is a growing interest in dynamic languages, more people are running into a programming concept called Closures or Blocks. People from a C/C++/Java/C# language background don't have closures and as a result aren't sure what they are. Here's a brief explanation, those who have don 阅读全文

posted @ 2013-01-21 23:08 malaikuangren 阅读(235) 评论(0) 推荐(0) 编辑

2012年12月30日

What is a jsp ?we can say jsp is a implement of HttpServlet.

摘要: JSP pages are textual components. They go through two phases: a translationphase, and a request phase. Translation is done once per page. The request phase isdone once per request.The JSP page is translated to create a servlet class, the JSP pageimplementation class, that is instantiated at request 阅读全文

posted @ 2012-12-30 22:06 malaikuangren 阅读(151) 评论(0) 推荐(0) 编辑
Why javax.servlet Interface SingleThreadModel is deprecated? How to handle the concurrency in servlet?

摘要: note : this is from jave doc.What is theSingleThreadModel for?Ensures that servlets handle only one request at a time. This interface has no methods.If a servlet implements this interface, you areguaranteedthat no two threads will execute concurrently in the servlet'sservicemethod. The servlet c 阅读全文

posted @ 2012-12-30 11:59 malaikuangren 阅读(217) 评论(0) 推荐(0) 编辑

2012年12月27日

What is the Web Appliation Archive, abbreviation is "WAR"

摘要: Directory StructureA Web application exists as a structured hierarchy of directories. The root of thishierarchy serves as the document root for files that are part of the application. Forexample, for a Web application with the context path /catalog in a Web container,the index.html file at the base 阅读全文

posted @ 2012-12-27 22:58 malaikuangren 阅读(217) 评论(0) 推荐(0) 编辑

2012年12月24日

how to pass a Javabean to server In Model2 architecture.

摘要: What is model2 pattern ?model2 pattern actually a pattern which use to construct web site , Before MVC pattern , we used Servlet + JSP + JavaBean to build web site .which we call this patternis model2.First of first , Let start with a simple example of tutorial.1. Defined the java bean like below .p 阅读全文

posted @ 2012-12-24 22:16 malaikuangren 阅读(168) 评论(0) 推荐(0) 编辑

2012年12月18日

What is the filter and filterconfig ,filterchain in java

摘要: see also :http://blog.csdn.net/zhaozheng7758/article/details/6105749http://blog.csdn.net/microtong/article/details/5007170 阅读全文

posted @ 2012-12-18 23:50 malaikuangren 阅读(151) 评论(0) 推荐(0) 编辑

2012年12月13日

How to apply a custom filter?

摘要: http://weblogs.asp.net/gunnarpeipman/archive/2010/08/15/asp-net-mvc-3-global-action-filters.aspx 阅读全文

posted @ 2012-12-13 10:32 malaikuangren 阅读(141) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 27 下一页