public class Uploader
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.log4j.Logger | loggerThe logger. | 
| private static java.lang.String | RELATIVE_DIRThe Constant RELATIVE_DIR. | 
| private static long | serialVersionUIDThe Constant serialVersionUID. | 
| Constructor and Description | 
|---|
| Uploader() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | doPost(javax.servlet.http.HttpServletRequest req,
      javax.servlet.http.HttpServletResponse res) | 
| private static java.lang.String | getFilename(java.lang.String fullString)Gets the filename from a string that may include the path. | 
| static void | main(java.lang.String[] args)For debugging only
 The main method. | 
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprivate static final long serialVersionUID
private static final java.lang.String RELATIVE_DIR
protected org.apache.log4j.Logger logger
public void doPost(javax.servlet.http.HttpServletRequest req,
          javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException,
                   java.io.IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionjava.io.IOExceptionprivate static java.lang.String getFilename(java.lang.String fullString)
fullString - the full stringpublic static void main(java.lang.String[] args)
args - the arguments