malaikuangren

What is the purpose or drive to build thing like (xxx),How can it achieve the original goal of design?

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) 编辑