public class UploadServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static String |
D4SR |
static String |
D4ST |
static String |
FILE |
static String |
ID_FOLDER |
static String |
IS_OVERWRITE |
protected static org.apache.log4j.Logger |
logger |
static String |
UPLOAD_FORM_ELEMENT |
static String |
UPLOAD_TYPE |
Constructor and Description |
---|
UploadServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init() |
protected void |
sendError(javax.servlet.http.HttpServletResponse response,
String message) |
protected void |
sendMessage(javax.servlet.http.HttpServletResponse response,
String message) |
protected void |
sendWarnMessage(javax.servlet.http.HttpServletResponse response,
String message) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final String UPLOAD_TYPE
public static final String ID_FOLDER
public static final String UPLOAD_FORM_ELEMENT
public static final String IS_OVERWRITE
public static final String FILE
protected static org.apache.log4j.Logger logger
public static final String D4ST
public static final String D4SR
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void sendError(javax.servlet.http.HttpServletResponse response, String message) throws IOException
IOException
protected void sendMessage(javax.servlet.http.HttpServletResponse response, String message) throws IOException
IOException
protected void sendWarnMessage(javax.servlet.http.HttpServletResponse response, String message) throws IOException
IOException
Copyright © 2015. All Rights Reserved.