ColdFusion MX is built on top of the same platform that runs JSP (or Java Server Pages). You
can, therefore, include JSP pages in your application, and you can share variables between
ColdFusion and JSP! We can set a Session variable, for example, in MyCFPage.cfm as follows:
<cfset Session.myvar = 1>
And we can then output it on MyJSPPage.jsp as follows:
<%= session.getAttribute("myvar") %>
This example may illustrate only the general principle behind sharing data between the two
platforms, but imagine the possibilities. For more information about integrating ColdFusion
with Java technologies.
0 comments:
Post a Comment