nl.knowledgeplaza.wps
Class FileUploadLeerlingImport
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
nl.knowledgeplaza.wps.FileUploadLeerlingImport
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class FileUploadLeerlingImport
- extends javax.servlet.http.HttpServlet
- Version:
- $Revision: 1.3 $
- See Also:
- Serialized Form
|
Method Summary |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Stores the uploaded file in the vault and adds a record to the database. |
void |
init()
Sets up the JDBC connection as specified in the parameters in web.xml. |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCECODE_VERSION
public static final String SOURCECODE_VERSION
- Standard variable for determining version of a class file.
- See Also:
- Constant Field Values
FileUploadLeerlingImport
public FileUploadLeerlingImport()
init
public void init()
throws javax.servlet.ServletException
- Sets up the JDBC connection as specified in the parameters in web.xml.
Holds the connection in an instance variable.
- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
- Stores the uploaded file in the vault and adds a record to the database.
- Overrides:
doPost in class javax.servlet.http.HttpServlet
- Throws:
IOException
javax.servlet.ServletException
Copyright © 2011 InnovationInvestments. All Rights Reserved.