* Set the necessary parameters for the application that are passed as
* params in the html source
*/
private void initParameters() throws MissingParamException {
if ((localFile = getParameter("localFile")) == null) {
throw new MissingParamException("Missing the localFile param");
}
if ((remoteFile = getParameter("remoteFile")) == null) {
throw new MissingParamException("Missing the remoteFile param");
}
if ((ftpDir = getParameter("ftpDir")) == null) {
throw new MissingParamException("Missing ftpDir param");
}
if ((ftpAddress = getParameter("ftpAddress")) == null) {
throw new MissingParamException("Missing ftpAddress param");
}
if ((ftpUsername = getParameter("ftpUsername")) == null) {
throw new MissingParamException("Missing ftpUsername param");
}
if ((ftpPassword = getParameter("ftpPassword")) == null) {
throw new MissingParamException("Missing ftpPassword param");
}
if ((redirectUrl = getParameter("redirectUrl")) == null) {
// This param is optional
}