Pass and Retrieve Parameter Values

In the example below, the e-mail string is the internal parameter value in the program. E-mail is the name to be passed in the URL by the program. For example, for: http://www.connect.com/[email protected], mapped attribute is Active_E-mail_Address.
name 'E-mail'.
String e-mail = "";
if (request.getParameter("E-mail") != null)
e-mail = request.getParameter("E-mail") ;
  

The same is true for the First and Last Name variables these are mapped to the parameter names first and last.

Although the First and Last Name attributes are normally used with Mail Merge, Mail Merge cannot be used with with Dynamic Content.
String first = "";
if (request.getParameter("first") != null)
first = request.getParameter("first") ;
String last = "";
if (request.getParameter("last") != null)
last = request.getParameter("last") ;
String state = "";
if (request.getParameter("State") != null)
state = request.getParameter("State") ;