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
Step
File-New-Other , Select Tapestry Web Project
Enter the project name, the next step is to complete
The built structure:
Find Home.html and add the following code
<span jwcid="$content$"><span jwcid="@Insert" span> value="test"/>span>
Right-click the project and run mode-run
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>
Enter 127.0.0.1:8083/[context path]/app on the web page, such as 127.0.0.1:8083/ta/app, then
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
Step
File-New-Other , Select Tapestry Web Project
Enter the project name, the next step is to complete
The built structure:
Find Home.html and add the following code
<span jwcid="$content$"><span jwcid="@Insert" value="test"/>< span class="hljs-title">span>
Right-click the project and run mode-run
< 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
Enter 127.0.0.1:8083/[context path]/app on the web page, such as 127.0.0.1:8083/ta/app, then
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