Hello World Tapestry5.3.6
一、Hello Tapestry
·安装JDK 1.6.0_29
·安装开发IDE Eclipse MyEclipse9.0M1
·安装Tomcat 6.0
·下载Tapestry tapestry-bin-5.3.6.zip
·新建Web工程 /GomeMonitor
1、修改WEB-INF/web.xml文件{
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Hello Tapestry</display-name>
<context-param>
<param-name>tapestry.app-package</param-name>
<param-value>example.hellotapestry</param-value>
</context-param>
<filter>
<filter-name>app</filter-name>
<filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>app</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>
}
2、加入使用的jar文件(备注个别jar需要自己去找)
3、创建页面
4、运行 tomcat 访问地址:http://localhost/GomeMonitor/HelloTapestry/Start
补充:综合编程 , 其他综合 ,