Lift can use a JNDI-supplied connection, using a convention-over-configuration approach: It automatically looks for a data source bound to the JNDI name.
Lift可以通过“约定优先于配置”方式使用JNDI提供的连接:它会自动寻找与JNDI名称绑定的数据源。
When making the connection from the action to the output.jsp, you are prompted for a forward name; use the name OK.
在从callCobolAction动作连接到out put . jsp时,系统会提示您输入一个转发名(forward name);使用名称ok。
Now test that the NIS connection is active by using ypcat to query the database directly. For example, to get a dump of the NIS passwd file ordered by name, you would use.
现在通过使用ypcat直接查询数据库,以确定NIS连接为活动状态。
Now test that the NIS connection is active by using ypcat to query the database directly. For example, to get a dump of the NIS passwd file ordered by name, you would use.
现在通过使用ypcat直接查询数据库,以确定NIS连接为活动状态。
应用推荐