Project

General

Profile

« Previous | Next » 

Revision 5027

Added by daigle over 14 years ago

Change MetaCatVersion to MetacatVersion

View differences:

BackupAdmin.java
48 48
/**
49 49
 * Control the display of the login page 
50 50
 */
51
public class BackupAdmin extends MetaCatAdmin {
51
public class BackupAdmin extends MetacatAdmin {
52 52

  
53 53
	private static BackupAdmin Admin = null;
54 54
	private static Logger logMetacat = Logger.getLogger(BackupAdmin.class);
......
113 113
				
114 114
				// Forward the request to the JSP page
115 115
				RequestUtil.forwardRequest(request, response,
116
						"/admin/backup-configuration.jsp");
116
						"/admin/backup-configuration.jsp", null);
117 117
			} catch (IOException ioe) {
118 118
				throw new AdminException("IO problem while initializing "
119 119
						+ "backup configuration page:" + ioe.getMessage());
......
174 174
					RequestUtil.clearRequestMessages(request);
175 175
					RequestUtil.setRequestFormErrors(request, validationErrors);
176 176
					RequestUtil.setRequestErrors(request, processingErrors);
177
					RequestUtil.forwardRequest(request, response, "/admin");
177
					RequestUtil.forwardRequest(request, response, "/admin", null);
178 178
				} else {
179 179
					// Reload the main metacat configuration page
180 180
					processingSuccess.add("Directory: " + backupDir + " configured.");
181 181
					RequestUtil.clearRequestMessages(request);
182 182
					RequestUtil.setRequestSuccess(request, processingSuccess);
183 183
					RequestUtil.forwardRequest(request, response,
184
							"/admin?configureType=configure&processForm=false");
184
							"/admin?configureType=configure&processForm=false", null);
185 185
				}
186 186
			} catch (IOException ioe) {
187 187
				throw new AdminException("IO problem while processing login page: " 

Also available in: Unified diff