Last active
May 30, 2016 17:41
-
-
Save chingovan/d97d5e22ee213fc3c2c78da0d36e9ac0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void sendEmail(ActionRequest actionRequest, ActionResponse actionResponse) { | |
String email = ParamUtil.getString(actionRequest, "email"); | |
String subject = ParamUtil.getString(actionRequest, "subject"); | |
String content = ParamUtil.getString(actionRequest, "content"); | |
System.out.println("Sending to " + email); | |
System.out.println("Subject: " + subject); System.out.println("Content: " + content); | |
actionResponse.setRenderParameter("mvcPath", "/html/multirender/view_email.jsp"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment