?? contentservlet.java
字號:
package net.myvietnam.mvncore.tutorial;
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2003</p>
* <p>Company: </p>
* @author MyVietnam's Develope
* @version 1.0
*/
import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.*;
public class ContentServlet extends HttpServlet {
private ContentProcessor contentProcessor = null;
private ContentServlet() {
}
/**Initialize global variables*/
public void init() throws ServletException {
contentProcessor = new ContentProcessor(this);
}
/**
* Clean up resources
*/
public void destroy() {
// This code will release all connections currently pooled.
// The next call to #getConnection will recreate the pool.
}
/**Process the HTTP Get request*/
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
process(request, response);
}
/**Process the HTTP Post request*/
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
process(request, response);
}
public void process(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -