This mobile device JSP function adds the keyName and keyValue pair to TempQ in order to persistence data across JSPs. The TempQ utilities store name/value pair information on one page in the session and provide methods for accessing them on the subsequent screens.
This function also enables support of multiple duplicate key names.
public void addToTempQ (String keyName, String keyValue, boolean allowDuplicates) throws Exception
public void addToTempQ (String keyName, String keyValue, Map m, boolean allowDuplicates) throws Exception
keyName - Required. Name of the key to be stored in the TempQ.
keyValue - Required. Value of the key to be stored in the TempQ.
allowDuplicates - Required. Determines whether or not duplicate objects are allowed to be added to the TempQ.
m - Optional. Enables you to provide a map of name/value pairs in a java.util.map.