railo - server.railo 是否存在于 Lucee 实例上?

标签 railo lucee

我有这个代码:

<cfdump eval=server>

并输出 coldfusion 的顶级 key , java , lucee , os , separator , servlet .请注意 railo那里没有列出。

但是,如果我这样做:
<cfdump eval=server.railo>

然后它输出运行 Railo 服务器(而不是 Lucee 服务器)时可能期望的常见结构。

那是怎么回事?

最佳答案

见:https://groups.google.com/d/msg/lucee/1asgCDwC_tE/-gtE06lkjuEJ

"server.railo" is supported as an alias for "server.lucee", we did this to make sure code like the following still work if(server.railo.version>"4.0.0.000");

We saw this as an hidden feature for backward compatibility, because of that it is not shown with the dump or structKeyList, but structKeyExists should also return false, we will change this for the next patch release... best use "server.coldfusion.productName" instead.

关于railo - server.railo 是否存在于 Lucee 实例上?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28386047/

相关文章:

.htaccess 重写 Tomcat 服务器

mysql - 查询 cf queryObject 并插入到表中

cfml - 使用基于 CFC 的自定义标签将子标签数据与祖 parent 标签相关联

java - 将 MaxMind java 类与 ColdFusion 一起使用

mysql - MURA——入门

java - 在 Lucee 上安装 Cassandra Java 驱动程序

coldfusion - 如何从 ColdFusion 查询中丢弃一行?

mysql - MySQL 备份期间 Railo 网站无法连接

javascript - 将 JSON 字符串从 ColdFusion 传递到 Javascript

linux - 在哪里可以找到适用于 Linux 的 Railo 3.2.1 安装程序?