From: Roland Häder Date: Thu, 19 May 2016 15:30:30 +0000 (+0200) Subject: Continued a bit: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=14d1b89ea2eec6cb762bc5f4dc2193e90ed1986a;p=pizzaservice-war.git Continued a bit: - call clear(), maybe better - removed debug line --- diff --git a/src/java/org/mxchange/pizzaapplication/beans/resendlink/PizzaResendLinkWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/resendlink/PizzaResendLinkWebSessionBean.java index e9de53bf..435e2831 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/resendlink/PizzaResendLinkWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/resendlink/PizzaResendLinkWebSessionBean.java @@ -104,12 +104,12 @@ public class PizzaResendLinkWebSessionBean extends BasePizzaController implement // Get base URL String baseUrl = FacesUtils.generateBaseUrl(); - // Debug message - System.out.println(MessageFormat.format("doResendLink: DEBUG - locale={0},baseUrl={1}", locale, baseUrl)); - // Call EJB and return redirect target String redirectTarget = this.emailBean.resendConfirmationLink(user, locale, baseUrl); + // Clear this bean + this.clear(); + // Return redirect target return redirectTarget; }