public class ServletUpload
extends javax.servlet.http.HttpServlet
构造器和说明 |
---|
ServletUpload() |
限定符和类型 | 方法和说明 |
---|---|
void |
destroy()
Destroy the servlet
|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles GET requests
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles POST requests
|
javax.servlet.ServletConfig |
getServletConfig() |
void |
init(javax.servlet.ServletConfig config)
Init the servlet
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public final void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
在接口中 javax.servlet.Servlet
init
在类中 javax.servlet.GenericServlet
javax.servlet.ServletException
public final javax.servlet.ServletConfig getServletConfig()
getServletConfig
在接口中 javax.servlet.Servlet
getServletConfig
在类中 javax.servlet.GenericServlet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doGet
在类中 javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doPost
在类中 javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
public void destroy()
destroy
在接口中 javax.servlet.Servlet
destroy
在类中 javax.servlet.GenericServlet