Content deleted Content added
Line 73:
</source>
; click.xml
: The heart of a Click application is the <code>click.xml</code> configuration file. This file specifies the application pages, headers, the format object and the applications mode.▼
: Click is smart enough to figure out that the <code>HelloWorld</code> page class maps to the template <code>hello-world.html</code>. We only have to inform Click of the package of the <code>HelloWorld</code> class, in this case <code>org.wikipedia.click</code>. We do that through the <code>click.xml</code> configuration file which allows Click to map <code>hello-world.html</code> requests to the <code>org.wikipedia.click.HelloWorld</code> page class.
▲: The heart of a Click application is the click.xml configuration file. This file specifies the application pages, headers, the format object and the applications mode.
: By default the <code>ClickServlet</code> will attempt to load the application configuration file using the path: <code>/WEB-INF/click.xml</code>
<source lang="xml">
|