摘要: WEB应用部署到Tomcat:应用目录结构:start.jsp发起请求: result.jsp请求转发或从定向页面: username: 部署描述符中对Servlet配置: TestServlet /ts/TestServlet Servlet示例:package com.test;import java.io.IOException;import javax.servlet.RequestDispatcher;import javax.servlet.ServletException;import j... 阅读全文
posted @ 2013-12-15 17:50 龍變 阅读(5166) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.blogjava.net/xzclog/archive/2011/09/29/359789.htmlServletspecification:The load-on-startup element indicates that this servlet should be loaded (instantiated and have its init() called) on the startup of the web application. The optional contents of these element must be an integer ind 阅读全文
posted @ 2013-12-15 13:04 龍變 阅读(818) 评论(0) 推荐(0) 编辑