手動構建Web應用:
具體參考<<輕量級Jave EE企業應用實戰>> P60
1)2) Create a new folder in anywhere you like, and a new folder "WEB-INF" insides it too. for example:
C:\webDemo\WEB-INF
(WEB-INF:web informations)
3) Copy a web.xml file form one of the tomcat's web application examples, put the file under folder WEB-INF
4)Change the code according to P61 in the book
5) Create two new folders under WEB-INF, classes and lib
6) Create a.jsp under folder <webdemo> as P61
7) 運行 Tomcat 的 startup.bat,然後在瀏覽器輸入:http://localhost:8888/webDemo/a.jsp
成功,結束~~