public class FileOutputService
extends javax.servlet.http.HttpServlet
构造器和说明 |
---|
FileOutputService()
Constructor of the object.
|
限定符和类型 | 方法和说明 |
---|---|
void |
destroy()
Destruction of the servlet.
|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
The doGet method of the servlet.
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
The doPost method of the servlet.
|
void |
init()
Initialization of the servlet.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public void destroy()
destroy
在接口中 javax.servlet.Servlet
destroy
在类中 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
request
- the request send by the client to the serverresponse
- the response send by the server to the clientjavax.servlet.ServletException
- if an error occurredjava.io.IOException
- if an error occurredpublic void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doPost
在类中 javax.servlet.http.HttpServlet
request
- the request send by the client to the serverresponse
- the response send by the server to the clientjavax.servlet.ServletException
- if an error occurredjava.io.IOException
- if an error occurredpublic void init() throws javax.servlet.ServletException
init
在类中 javax.servlet.GenericServlet
javax.servlet.ServletException
- if an error occurs