Servlets & JSP
Kayonlife
这个作者很懒,什么都没留下…
展开
-
Servlets & JSP Series 1 - Why do we use JSP
Servlets & JSP Series 1 - Why do we use JSP Web由数以亿计的客户(浏览器)和服务器(Apache应用服务器)组成,这些客户和服务器之间通过有线和无线网络连接,Web服务器接收客户请求,然后向客户返回一些结果。 客户的请求包含客户所找资源的名字和地址(URL),服务器通常有很多“内容”发给客户,这些内容可能是Web页面或...2013-11-15 15:59:40 · 236 阅读 · 0 评论 -
Servlets & JSP Series 2 - Web APP Architecture
Servlets & JSP Series 2 - Web APP Architecture Servlets do not have a main() method, they are under the control of another Java application called a Container. Tomcat is an example of ...2013-11-18 17:22:08 · 143 阅读 · 0 评论 -
Servlets & JSP Series 3 - One Mini MVC Tutorial
Servlets & JSP Series 3 - One Mini MVC Tutorial Construct the file and directory structure of a web application that may contain: 1.static content; 2.JSP pages; 3.servlet classes; 4.the d...2013-11-19 15:45:49 · 114 阅读 · 0 评论 -
Servlets & JSP Series 4 - Being a Servlet
Servlets & JSP Series 4 - Being a Servlet Container’s overall role in one servlet’s life: 1.User clicks a link that has a URL to a servlet to generate a request; 2.The Container “sees” tha...2013-11-22 15:28:58 · 135 阅读 · 0 评论 -
Servlets & JSP Series 5 - Being a Web App
Servlets & JSP Series 5 - Being a Web App Every servlet inherits a getServletConfig() method, the getServletConfig method returns a ServletConfig, and one of its methods is getInitParameter(...2013-11-26 11:51:12 · 175 阅读 · 0 评论 -
Servlets & JSP Series 6 - Conversational state
Servlets & JSP Series 6 - Conversational state An HttpSession object can hold conversational state across multiple requests from the same client, in orther words it persists for an entire se...2013-11-27 14:22:03 · 138 阅读 · 0 评论 -
Servlets & JSP Series 7 - Being a JSP
Servlets & JSP Series 7 - Being a JSP A JSP becomes a servlet: a sevlet that you do not create, the container looks at your JSP, translates it into Java source code, and compiles it into a ...2013-12-02 13:27:39 · 172 阅读 · 0 评论 -
Servlets & JSP Series 8 - Script-free pages
Servlets & JSP Series 8 - Script-free pages Standard action is related to JavaBean; Standard actions contains- 1.jsp:useBean; 2.jsp:getProperty; 3.jsp:setProperty; 4.jsp:include; 5.jsp:forwa...2013-12-05 14:08:07 · 231 阅读 · 0 评论 -
Servlets & JSP Series 9 - Custom tags are powerful
Servlets & JSP Series 9 - Custom tags are powerful Using the c:out tag to render the text of users prevents cross-site hacking of this form by displaying the <script> tags and the ...2013-12-10 14:13:58 · 117 阅读 · 0 评论