cfservletparam

Overview ColdFusion Open BlueDragon Lucee

A child of cfservlet. It passes data to the servlet. Each cfservletparam tag within the cfservlet block passes a separate piece of data to the servlet.

Attributes

Name Required Type Default Description
name No If used with the value attribute, it is the name of the servlet parameter. If used with the variable attribute, it is the name of the servlet attribute
type No The data type of the ColdFusion variable being passed. By default, ColdFusion usually passes variables as strings; however, to ensure that the data is the correct type on the Java side, you can specify any of the following types: INT, DOUBLE, BOOL, DATE, or STRING.
value No Value of a name-value pair passed to the servlet as a parameter.
variable No The name of a ColdFusion variable. See the Usage section for details on passing parameters. The value appears in the servlet as an attribute