1 19 20 package com.sslexplorer.install.actions; 21 22 import javax.servlet.http.HttpServletRequest ; 23 import javax.servlet.http.HttpServletResponse ; 24 25 import org.apache.struts.action.ActionForm; 26 import org.apache.struts.action.ActionForward; 27 import org.apache.struts.action.ActionMapping; 28 29 import com.sslexplorer.install.forms.SetKeyStorePasswordForm; 30 31 39 public class CreateNewCertificateAction extends AbstractInstallWizardAction { 40 41 49 public ActionForward previous(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) 50 throws Exception { 51 super.previous(mapping, form, request, response); 52 53 if (getWizardSequence(request).getAttribute(SetKeyStorePasswordForm.ATTR_KEY_STORE_PASSWORD, null) != null) { 55 return mapping.findForward("setKeyStorePassword"); 56 } else { 57 return mapping.findForward("selectCertificateSource"); 58 } 59 } 60 } 61 | Popular Tags |