[Struts]Simple Struts application--Hello World

把CD:Book-精通Struts\helloapp\version1\helloapp的helloapp文件夾整個拷貝到Tomcat的webapps下:C:\Tomcat\webapps\helloapp

 

C:\Tomcat\bin\startup.bat啓動Tomcat

 

啓動後,IE地址欄中輸入http://localhost:8080/helloapp/hello.jsp後出現:


運行成功

 

我自己搭的就沒運行成功:(((
 

 

 

 

References:

[1] <<精通struts: 基於MVC的Java Web設計與開發>> 孫爲琴 chapter 2

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章