com.borneo.ftp.xml
Class CreateXmlProcess
com.borneo.ftp.xml.CreateXmlProcess
- public class CreateXmlProcess
This is the servlet that handles the Posts from the JSP Form used
to capture the properties that define the Connection and the Files to
be exchanged between host machines. The end Result of the post is to Create
XML and to write that XML to the file system on the server and to return
the same XML to the browser where it can be saved for use by the Client
that actually runs to exchange files.
Method Summary |
void |
destroy()
Destroys the servlet. |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP GET method. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP POST method. |
java.lang.String |
getServletInfo()
Returns a short description of the servlet. |
void |
init(com.borneo.ftp.xml.ServletConfig config)
Initializes the servlet. |
protected void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes requests for both HTTP GET and POST methods. |
CreateXmlProcess
public CreateXmlProcess()
init
public void init(com.borneo.ftp.xml.ServletConfig config)
throws com.borneo.ftp.xml.ServletException
- Initializes the servlet.
destroy
public void destroy()
- Destroys the servlet.
processRequest
protected void processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws com.borneo.ftp.xml.ServletException,
java.io.IOException
- Processes requests for both HTTP
GET
and POST
methods.
- Parameters:
request
- servlet requestresponse
- servlet response
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws com.borneo.ftp.xml.ServletException,
java.io.IOException
- Handles the HTTP
GET
method.
- Parameters:
request
- servlet requestresponse
- servlet response
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws com.borneo.ftp.xml.ServletException,
java.io.IOException
- Handles the HTTP
POST
method.
- Parameters:
request
- servlet requestresponse
- servlet response
getServletInfo
public java.lang.String getServletInfo()
- Returns a short description of the servlet.