这是通过把文件关联标记添加到应用程序清单文件中来实现的。
This is done by adding a file association tag to the applications manifest file.
创建过程涉及一个关键文件:您的应用程序的缓存清单。
One key file is involved: the cache manifest for your application.
将清单5中显示的资源引用添加到应用程序的web . xml文件。
Add the resource reference shown in Listing 5 to the application's web.xml file.
清单4:应用程序的HTML文件。
清单4显示了booklist_app . xql文件中的应用程序业务逻辑。
Listing 4 illustrates the application business logic in the booklist_app.xql file.
清单1 (todo . html)是该应用程序的主html文件。
Listing 1 (todo.html) is the main HTML file for the application.
(查阅下载文件中的样例应用程序来获得完整的清单内容。)
(Refer to the sample application in the download file for the complete listing.)
我们来看看本文中的应用程序的主要布局文件,如清单1所示。
Let's look at the main layout file for our application, shown in Listing 1.
我还为样例应用程序编写了一个web . xml文件,如清单8所示。
I have also written a web.xml file for the sample application, as shown in Listing 8.
接下来,添加您的 database.yml文件,将您的应用程序指向之前创建的DNS别名,清单 6 显示了这个配置。
Next, add your database.yml file to point your application to the DNS alias you created previously.
接下来,添加您的 database.yml文件,将您的应用程序指向之前创建的DNS别名,清单 6 显示了这个配置。
Next, add your database.yml file to point your application to the DNS alias you created previously.
应用推荐