Summary

Definitions

Overview

Illustration 1

Illustration 2

Illustration 3
   Page Template
   Page Specification
   Page Class
   -Application Specification

The Framework - a flyby

Conclusion

Biography

Resources

Application Specification
<?xml version="1.0"?>
<!DOCTYPE application PUBLIC 
  "-//Apache Software Foundation//Tapestry Specification 3.0//EN" 
  "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">

<application name="Tapestry Illustration 3">
    <page name="Home" specification-path="CustInfo.page"/>
</application>
Listing 12. Welcome.application
Our Home Page (CustInfo), not following the default naming convention, is specified in the application specification. Reusing the web.xml from previous illustrations and running the Welcome example application within Tomcat, running at port 8080, with the request URL http://localhost:8080/Welcome/app will take us to the CustInfo Page of our Welcome application that we just built.
<< Previous Next >>