前提:正确安装JDK和Resin3.0
这个是原始文档,我做一下注释
Configuring the web.XML
The following is a complete working web.xml to run this example.
The servlet-mapping tells Resin that the URL /hello should invoke the hello-world servlet.
The servlet tells Resin that hello-world uses the test.HelloWorld class and that the value of the greeting init parameter is Hello World.
WEB-INF/web.xml
web-app>
servlet-mapping url-pattern='/hello'
servlet-name='hello-world'/>
servlet servlet-name='he...[ 查看全文 ]