class FileSample extends HttpServlet
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
FileSample() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
private static void |
directory(String directory) |
void |
init(ServletConfig config) |
static void |
main(String[] args) |
void |
service(HttpServletRequest req,
HttpServletResponse res) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicegetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logprivate static final long serialVersionUID
FileSample()
public void init(ServletConfig config) throws ServletException
init in interface Servletinit in class GenericServletServletExceptionpublic void destroy()
destroy in interface Servletdestroy in class GenericServletpublic void service(HttpServletRequest req, HttpServletResponse res) throws IOException
service in class HttpServletIOException