• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Name

cfservletparam

Synopsis

<cfservlet> 
  [<cfservletparam>]
  ... 
</cfservlet>

Used as a child tag of the cfservlet tag to pass parameters and attributes to a Java servlet. Multiple cfservletparam tags may pass multiple parameters/attributes. Both simple and complex datatypes such as arrays, queries, and structures can be passed to servlets via cfservletparam tags.

Data can be passed to a servlet in two ways: by value and by reference. To pass data by value (as a parameter), use the name and value attributes. Data passed by value is modified only within the servlet. To pass data by reference (as an attribute), use the name, variable, and optionally the type attribute. If the servlet modifies data passed by reference, the data in the corresponding ColdFusion variable is also changed.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint