TapeStry (1): Combined with Jetty Development TapeStry3 Project

Background

The company is recycling an outsourcing project, which uses tapestry3 and maven1 technologies, which are all very old, especially Maven1, even the official website can not find the information, but it is not easy to re-development. So I learned about tapestry.
Refer to “Tapestry Development Guide 0.9”

Environment

eclipse3.1, jdk1.5 (32-bit), jetty4.2.21, tapestry3

p>

plugin configuration

 Write the picture description here

Step

File-New-Other , Select Tapestry Web Project
Write the picture description here
Enter the project name, the next step is to complete
Write the picture description here
The built structure:
write picture description here
Find Home.html and add the following code

<span jwcid="$content$"><span jwcid="@Insert" span> value="test"/>span>

Write the picture description here
Right-click the project and run mode-run
Write the picture description here
Find Jetty Web, create a new one, fill in content in webapp root c, fill in the project alias for content name (for jump, for example, /ta), set http port number (for example, 8083), apply, debug< br> Write the picture description here
Enter 127.0.0.1:8083/[context path]/app on the web page, such as 127.0.0.1:8083/ta/app, then
Write picture description here The result page displays the content in Home.html. This is because Tapestry will always include a page named “Home”, which is Home.html under the root path by default

Background

The company is recycling an outsourcing project. The project uses tapestry3 and maven1 technologies, which are all very old, especially maven1. No information can be found on the official website, but it is not easy to redevelop. So I learned about tapestry.
Refer to “Tapestry Development Guide 0.9”

Environment

eclipse3.1, jdk1.5 (32-bit), jetty4.2.21, tapestry3

p>

plugin configuration

 Write the picture description here

Step

File-New-Other , Select Tapestry Web Project
Write the picture description here
Enter the project name, the next step is to complete
Write the picture description here
The built structure:
write picture description here
Find Home.html and add the following code

<span jwcid="$content$"><span jwcid="@Insert" value="test"/>span>

Write the picture description here
Right-click the project and run mode-run
Write the picture description here < br> Find Jetty Web, create a new one, fill in content in webapp root c, fill in the project alias for content name (for jump, for example /ta), set http port number (for example, 8083), apply, debug
Write picture description here
Enter 127.0.0.1:8083/[context path]/app on the web page, such as 127.0.0.1:8083/ta/app, then
Write the picture description here The result page displays the content in Home.html. This is because Tapestry will always include a page named “Home”, which is Home.html under the root path by default

Leave a Comment

Your email address will not be published.