Now, you need to let the Tapestry engine know about this implicit mapping, by making it explicit.
现在,需要通过显式化,让Tapestry引擎知道这个隐式映射。
The class itself is also marked as abstract, allowing Tapestry to handle setting up an instance of the class and hook it into the Tapestry engine.
类本身被标记成抽象的,这允许 Tapestry 负责设置类的实例,并把实例挂接到 Tapestry 引擎。
Tomcat is used in the examples throughout this article, but you can easily use Tapestry with the servlet engine of your choice.
这篇文章的所有示例都使用Tomcat,但是可以很容易地把Tapestry用于您选择的其他servlet引擎。
应用推荐