摘要: 第七章1、The Container takes what you’ve written in your JSP, translates it into a servlet class source (.java) file, then compiles that into a Java servlet class.2、you can put regular old Java code in a JSP using a scriptlet—which just means Java code within a <% ... %> tag.3、Use the page directi 阅读全文
posted @ 2013-05-11 01:32 归为虚无 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 第四章1、Servlet继承树2、LifeCycle 1 init() 2 service() 3 doGet() or doPost()3、requestYou can have multiple values for a single parameter! That means you’ll need getParameterValues() that returns an array, instead of getParameter() that returns a String.4、getServerPort(), getLocalPort(), and getRemotePort() 阅读全文
posted @ 2013-05-11 01:17 归为虚无 阅读(502) 评论(0) 推荐(0) 编辑